import { Workspace as WorkspaceProps } from '@/lib/types/models';
export declare type workspacesTypes = {
    getById: (id: string) => [workspace: WorkspaceProps | any, loading: boolean];
    getByKey: (key: string) => [workspace: WorkspaceProps | any, loading: boolean];
    getAll: () => [workspaces: (WorkspaceProps | any)[], loading: boolean];
};
declare const useWorkspaces: () => workspacesTypes;
export { useWorkspaces };
