import { type Work } from '../types';
export interface WorksState {
    works: Work[];
    searchQuery: string;
    tabValue: string;
    selectedWork: Work | null;
    detailViewWork: Work | null;
}
export declare function useWorksState(): {
    state: WorksState;
    actions: {
        setWorks: (works: Work[]) => void;
        setSearchQuery: (query: string) => void;
        setTabValue: (value: string) => void;
        selectWork: (work: Work | null) => void;
        setDetailViewWork: (work: Work | null) => void;
        addWork: (work: Work) => void;
        updateWork: (work: Work) => void;
        removeWork: (id: string) => void;
        reset: () => void;
    };
};
