export type NativeProjectReadIdentity = { readonly ctimeNs: string; readonly dev: string; readonly ino: string; readonly mode: string; readonly mtimeNs: string; readonly size: string; }; export type NativeProjectReadTreeEntry = { readonly identity: NativeProjectReadIdentity; readonly kind: "directory"; readonly path: string; } | { readonly bytes: Buffer; readonly identity: NativeProjectReadIdentity; readonly kind: "file"; readonly path: string; }; export type NativeProjectReadCommandResult = { readonly killed: boolean; readonly outcome: "failed" | "output-limit" | "passed" | "signal" | "timeout"; readonly signal: number; readonly status: number; readonly stderr: Buffer; readonly stdout: Buffer; readonly timedOut: boolean; }; export declare class NativeProjectReadProtocolError extends Error { readonly code: "absent" | "invalid" | "io" | "limit" | "unsafe"; readonly name = "NativeProjectReadProtocolError"; constructor(code: "absent" | "invalid" | "io" | "limit" | "unsafe"); } export declare function parseNativeReadResponse(response: Buffer): { readonly bytes: Buffer; readonly identity: NativeProjectReadIdentity; }; export declare function parseNativeDirectoryResponse(response: Buffer): NativeProjectReadIdentity; export declare function parseNativeTextResponse(response: Buffer): Buffer; export declare function parseNativeCommandResponse(response: Buffer): NativeProjectReadCommandResult; export declare function parseNativeTreeResponse(response: Buffer): readonly NativeProjectReadTreeEntry[];