import { ComputedRef } from 'vue'; export interface SmartFolderProperty { name: string; display_name?: string; accessor: string; type: string; description?: string; display_names_by_value?: Record; } export interface SectionById { id: string; name: string; created_at: string; modified_at: string; thumbnail_url?: string; metadata?: Record; is_editable: boolean; is_default: boolean; access_type: string; context: Record; used_in_count: number; theme?: Record; indicators?: Record; tags?: string[]; } interface PathSegment { value: string; property: SmartFolderProperty; } export default function useSectionSmartFolderStore(): { state: { readonly hierarchyLevels: readonly { readonly name: string; readonly display_name?: string | undefined; readonly accessor: string; readonly type: string; readonly description?: string | undefined; readonly display_names_by_value?: { readonly [x: string]: string; } | undefined; }[]; readonly currentPath: readonly { readonly value: string; readonly property: { readonly name: string; readonly display_name?: string | undefined; readonly accessor: string; readonly type: string; readonly description?: string | undefined; readonly display_names_by_value?: { readonly [x: string]: string; } | undefined; }; }[]; readonly availableValues: readonly { readonly value: string; readonly files_count: number; }[]; readonly matchingSections: readonly { readonly id: string; readonly name: string; readonly created_at: string; readonly modified_at: string; readonly thumbnail_url?: string | undefined; readonly metadata?: { readonly [x: string]: any; } | undefined; readonly is_editable: boolean; readonly is_default: boolean; readonly access_type: string; readonly context: { readonly [x: string]: any; }; readonly used_in_count: number; readonly theme?: { readonly [x: string]: any; } | undefined; readonly indicators?: { readonly [x: string]: any; } | undefined; readonly tags?: readonly string[] | undefined; }[]; readonly isLoading: boolean; readonly isSavingConfig: boolean; readonly viewMode: "folders" | "sections"; readonly totalCount: number; readonly page: number; readonly pageSize: number; readonly includeDraft: boolean; }; isSmartFoldersView: import('@vueuse/shared').RemovableRef; smartFolderRuleAttributes: ComputedRef<{ name: string; type: "string" | "boolean" | "number" | "date" | "array"; accessor: string; display_name: string; }[]>; actions: { fetchData: () => Promise; loadConfiguration: () => Promise; navigateToLevel: (index: number) => void; setCurrentPath: (value: PathSegment[]) => void; selectValue: (value: string, { skipFetchData }?: { skipFetchData?: boolean; }) => void; toggleViewMode: () => void; reset: () => void; setMatchingSections: (sections: SectionById[]) => void; setIncludeDraft: (includeDraft: boolean) => void; }; }; export {};