type ExecutionIdentity = {
    run: {
        id: string;
    };
    attempt: {
        number: number;
    };
};
/**
 * Installs a refreshed run token only into the attempt it was minted for. A reused task process may
 * already be running another run or attempt, and must keep that execution's credential.
 */
export declare function installRunToken(current: ExecutionIdentity | undefined, update: {
    runId: string;
    attemptNumber: number;
    token: string;
}, env?: NodeJS.ProcessEnv): boolean;
/**
 * A warm-started process inherits the previous run's environment. When the next attempt carries no
 * run token, drop the inherited one so the SDK falls back instead of using another run's token.
 */
export declare function dropInheritedRunToken(executionEnv: Record<string, string>, env?: NodeJS.ProcessEnv): void;
export {};
