export type BoundaryReadResult = {
    ok: true;
    content: string;
} | {
    ok: false;
    reason: 'outside-root' | 'missing' | 'too-large' | 'read-error';
};
/**
 * Read a file relative to workspace root with path traversal guard and byte cap.
 */
export declare function readWorkspaceRelativeFile(params: {
    workspaceDir: string;
    relativePath: string;
    maxBytes: number;
}): BoundaryReadResult;
