declare type PageState = 'VIEW' | 'EDIT' | 'REVIEW' | 'SAVING' | 'ERROR'; declare type UserType = { sid: string; displayName: string; email: string; }; export interface ContentEditorState { pageState: PageState; user?: UserType; previewContent?: any; errorMessage?: string; isInsertingLink: boolean; setPageState: (state: PageState) => void; startEditing: () => void; stopEditing: () => void; setPreviewContent: (content: any) => void; setErrorMessage: (errorMessage: string) => void; setUser: (user: UserType) => void; setIsInsertingLink: (isInsertingLink: boolean) => void; } declare const useStore: import("zustand").UseBoundStore>; export declare const usePreviewContent: () => any; export declare const useSetContent: () => (content: any) => void; export declare const usePageState: () => { pageState: PageState; setPageState: (state: PageState) => void; errorMessage: string | undefined; setErrorMessage: (errorMessage: string) => void; }; export declare const useEditorUser: () => { user: UserType | undefined; setUser: (user: UserType) => void; }; export declare const useIsInsertingLink: () => { isInsertingLink: boolean; setIsInsertingLink: (isInsertingLink: boolean) => void; }; export default useStore;