import type { TextContent } from "@earendil-works/pi-ai/compat";
import type { ReadToolDetails } from "./read.ts";
export interface ReadUrlBranchArgs {
    effectivePath: string;
    rawOutput: boolean;
    effectiveRanges: {
        start: number;
        end?: number;
    }[] | undefined;
    effectiveOffset: number | undefined;
    effectiveLimit: number | undefined;
    cwd: string;
    ctx: unknown;
    signal?: AbortSignal;
    maxChars: number;
    maxBytes: number;
    oversized: (details: {
        blocked: true;
        path: string;
        chars: number;
        maxChars: number;
        startLine: number;
        totalFileLines: number;
        firstLineBytes: number;
        byteGuidance: boolean;
    }) => {
        content: TextContent[];
        details: ReadToolDetails;
    };
    sourceMeta: (source: string) => ReadToolDetails;
}
export type ReadUrlBranchResult = {
    content: TextContent[];
    details: ReadToolDetails | undefined;
};
export declare function readUrlBranch(args: ReadUrlBranchArgs): Promise<ReadUrlBranchResult>;
//# sourceMappingURL=read-url.d.ts.map