export declare const COPILOT_FILE_SOURCE = "github-copilot-cli-upload"; export declare const COPILOT_FILE_MARKER_PATTERN: RegExp; export interface CopilotFileReference { readonly id: string; readonly name: string; readonly bytes: number; readonly modelText: string; } export interface ResolvedCopilotFile { readonly id: string; readonly name: string; readonly mediaType?: string; readonly bytes: number; readonly sha256: string; readonly path: string; } export interface CopilotFileStoreOptions { readonly root: string; readonly maxFileBytes: number; } export declare class CopilotFileStoreError extends Error { readonly code: "INVALID_FILE" | "FILE_TOO_LARGE" | "FILE_NOT_FOUND" | "FILE_CORRUPT"; constructor(message: string, code: CopilotFileStoreError["code"], options?: ErrorOptions); } export declare function copilotFileModelText(id: string, name: string): string; export declare function copilotFileIds(text: string): readonly string[]; export declare function stripCopilotFileMarkers(text: string): string; /** Persistent, content-addressed storage for browser-uploaded official CLI files. */ export declare class CopilotFileStore { #private; readonly root: string; readonly maxFileBytes: number; constructor(options: CopilotFileStoreOptions); save(input: { readonly data: Uint8Array; readonly name: string; readonly mediaType?: string; }): Promise; resolve(id: string, signal?: AbortSignal): Promise; } //# sourceMappingURL=file-store.d.ts.map