import { CallSiteLike } from '@tapjs/stack';
import { FC } from 'react';
export interface SourceOpts {
    source?: string;
    stack?: string;
    location?: string;
    at?: CallSiteLike | {
        lineNumber?: number;
        fileName?: string;
        columnNumber?: number;
    };
    errorOrigin?: {
        source?: string;
        at?: CallSiteLike | {
            lineNumber?: number;
            fileName?: string;
            columnNumber?: number;
        };
    };
    isErrorOrigin?: boolean;
}
/**
 * Pass in a test result.diag that has a source and callsite,
 * and it'll return a prettied up source line with the callsite
 * highlighted
 */
export declare const Source: FC<SourceOpts>;
//# sourceMappingURL=source.d.ts.map