export declare const STATEFUL_CODE_ENVIRONMENTS: readonly ["user", "agent-user", "conversation"]; export type StatefulCodeEnvironment = (typeof STATEFUL_CODE_ENVIRONMENTS)[number]; /** Resolve a deployment allowlist in stable UI order. An omitted value preserves * the backward-compatible behavior where every environment is available. */ export declare function resolveAllowedStatefulCodeEnvironments(configured?: readonly StatefulCodeEnvironment[] | null): StatefulCodeEnvironment[]; /** Keep an allowed preference, otherwise select the first deployment-allowed scope. */ export declare function resolveStatefulCodeEnvironment(preferred: StatefulCodeEnvironment | null | undefined, configured?: readonly StatefulCodeEnvironment[] | null): StatefulCodeEnvironment | undefined;