import type { ActionDefinition, ActionObjectSubject, ActionReadFacade, ActionRuntimeFacade, ActionSubject, Logger, ObjectTypeWithPropertyTokens } from "@sixb/core"; import type { ActionReadRecorder } from "@sixb/core/internal/actions"; import type { ActionRunRecord } from "@sixb/core/storage"; import type { RunActionJobInput } from "../types"; import type { LoadedObjectTarget } from "./types"; export declare function toActionRuntimeFacade(runtime: RunActionJobInput["runtime"]): ActionRuntimeFacade; export declare function toActionReadFacade(runtime: RunActionJobInput["runtime"], recorder: ActionReadRecorder): ActionReadFacade; export declare function createBasePhaseContext(input: { readonly runtime: RunActionJobInput["runtime"]; readonly action: ActionDefinition; readonly run: ActionRunRecord; readonly signal: AbortSignal; readonly logger: Logger; }): { run: { id: string; startedAt: Date; idempotencyKey: string; }; logger: Logger; params: Record; subject: ActionSubject; signal: AbortSignal; }; export type BasePhaseContext = ReturnType; export declare function loadObjectTarget(input: { readonly runtime: RunActionJobInput["runtime"]; readonly action: ActionDefinition; readonly run: ActionRunRecord; }): Promise; export declare function requireObjectSubject(subject: ActionSubject, input: { readonly actionId: string; readonly runId: string; }): ActionObjectSubject; export declare function requireObjectTarget(target: LoadedObjectTarget | null, input: { readonly actionId: string; readonly runId: string; }): LoadedObjectTarget; //# sourceMappingURL=context.d.ts.map