import { workspace } from '@synnaxlabs/client';
import { Flux } from '../flux';
export declare const FLUX_STORE_KEY = "workspaces";
export interface FluxStore extends Flux.UnaryStore<workspace.Key, workspace.Workspace> {
}
interface SubStore extends Flux.Store {
    [FLUX_STORE_KEY]: FluxStore;
}
export declare const FLUX_STORE_CONFIG: Flux.UnaryStoreConfig<SubStore>;
export interface RetrieveParams {
    key: workspace.Key;
}
export declare const retrieve: Flux.CreateRetrieveReturn<RetrieveParams, workspace.Workspace>;
export interface ListParams {
    offset?: number;
    limit?: number;
}
export declare const useList: Flux.UseList<ListParams, string, workspace.Workspace>;
export {};
//# sourceMappingURL=queries.d.ts.map