///
declare class ShareStore {
props: {
onChange?: (location: string, items: any[]) => any;
id?: string;
};
get id(): string;
clipboards: {
main: any[];
};
setSelected(location: string | boolean, raw: any[]): void;
}
export declare const useShareStore: (options?: import("@o/use-store").UseStoreOptions) => ShareStore;
export declare const useShare: (location?: string) => [A, (next: A) => void];
export declare const useSetShare: (location?: string) => (next: any[]) => void;
export declare const useCreateShareStore: (props?: false | {
onChange?: (location: string, items: any[]) => any;
id?: string;
}, opts?: import("@o/use-store").UseStoreOptions) => ShareStore;
export declare const ProvideShare: ({ children, ...props }: {
onChange?: (location: string, items: any[]) => any;
id?: string;
} & {
children: any;
}) => JSX.Element;
export {};
//# sourceMappingURL=Share.d.ts.map