/**
 * Captures the file path and line number of the caller using V8's
 * structured stack trace API.
 *
 * Walks up the stack to find the first frame whose file is outside the
 * Donobu library (i.e., the user's test file).
 */
export interface CallSite {
    file: string;
    line: number;
    column: number;
}
/**
 * Walks the V8 stack to find the first frame that belongs to user code
 * (i.e., not inside the Donobu library or node_modules).
 *
 * This is robust regardless of how many internal wrappers sit between
 * the user's `await page.tbd()` call and this function.
 */
export declare function captureCallSite(): CallSite | null;
//# sourceMappingURL=callSiteCapture.d.ts.map