import type { StackFrame } from 'stacktrace-parser';
export type SourcePackage = 'react' | 'next';
export type OriginalStackFrameResponse = {
    originalStackFrame?: StackFrame | null;
    originalCodeFrame?: string | null;
    /** We use this to group frames in the error overlay */
    sourcePackage?: SourcePackage | null;
};
/** Given a potential file path, it parses which package the file belongs to. */
export declare function findSourcePackage(file: string | null): SourcePackage | undefined;
