import type QueryError from '../../errors/QueryError.ts';
import type OpticReadFailureCause from './OpticReadFailureCause.ts';
import type { OpticReadTargetInstance } from './OpticReadTarget.ts';
type OpticReadFailureContextOptions = {
    readonly sourceContext: QueryError['context'];
    readonly graphName: string;
    readonly target: OpticReadTargetInstance;
    readonly cause: OpticReadFailureCause;
    readonly includeReason: boolean;
};
export default class OpticReadFailureContext {
    private readonly sourceContext;
    private readonly graphName;
    private readonly target;
    private readonly cause;
    private readonly includeReason;
    constructor(options: OpticReadFailureContextOptions);
    toQueryErrorContext(): QueryError['context'];
    private freezeContext;
}
export {};
