import type { Logger, PtyHandle } from './types.js';
export interface UrlCaptureOptions {
    pty: PtyHandle;
    timeoutMs: number;
    onUrl: (url: string, ms: number) => void;
    onTimeout: () => void;
    logger: Logger;
}
export declare function startUrlCapture(opts: UrlCaptureOptions): {
    cancel: () => void;
};
//# sourceMappingURL=url-capture.d.ts.map