import { GetProjectFilesResponseBody } from '@imagine/ai-service/shared-types/route-types'; import { CodeEditorDraftEntry } from '../../../stores/slices/code-editor.slice'; export type ProjectFile = GetProjectFilesResponseBody["files"][number]; export type DraftProjectFile = ProjectFile & { isDraft?: boolean; }; type UseCodePanelFilesParams = { apiFiles: Array | undefined; drafts: Record; }; export declare function useCodePanelFiles({ apiFiles, drafts, }: UseCodePanelFilesParams): { serverFiles: { readOnly: boolean; path: string; content: string; }[]; serverFilePaths: Set; combinedFiles: { readOnly: boolean; path: string; content: string; }[]; fileMap: Map; }; export {}; //# sourceMappingURL=use-codepanel-files.d.ts.map