import { Store, Unit } from "chain-store"; type Args = Params extends Array ? Params : [Params]; export declare const sync: { (stores: { [key: string]: Store }, scope?: string): () => void; ( stores: { [key: string]: Store }, deps: () => Args, scope?: string, ): () => void; ( stores: { [key: string]: Store }, deps: () => R, scope?: string, ): () => void; ( stores: { [key: string]: Store }, deps: () => Args, match: (a: Args, b: Args) => boolean, scope?: string, ): () => void; ( stores: { [key: string]: Store }, deps: () => R, match: (a: R, b: R) => boolean, scope?: string, ): () => void; };