export type PerfTrace = {
    mark: (name: string, detail?: string | null) => void;
    wrapStdout: (stdout: NodeJS.WritableStream) => NodeJS.WritableStream;
    finish: (detail?: string | null) => void;
};
export declare function createPerfTrace({ env, stderr, }: {
    env: Record<string, string | undefined>;
    stderr: NodeJS.WritableStream;
}): PerfTrace | null;
