export declare const MAX_LOCAL_FILE_VIEW_BYTES: number;
export type LocalFileReadResult = {
    path: string;
    relativePath: string;
    name: string;
    size: number;
    updatedAt: number;
    text: string;
};
export declare class LocalFileViewError extends Error {
    readonly code: 'FORBIDDEN' | 'NOT_FOUND' | 'NOT_A_FILE' | 'TOO_LARGE' | 'BINARY';
    constructor(code: LocalFileViewError['code'], message: string);
}
export declare const readProjectLocalFile: (projectRoot: string, requestedPath: string) => Promise<LocalFileReadResult>;
