/**
 * The CONFIG REFUSAL WORDS — every word of the `config.*` / `resume_at.*` family the engine throws as the `code` of a refusal: the one closed
 * set a host holds its status table over (`satisfies Record<ConfigRefusalCode, …>`), so a door that gains a word turns the host `tsc`-red until it
 * places the word, instead of failing in production as a code nobody mapped.
 *
 * Where a word reaches a host: `TaskResult.errorCode` of a run refused at prepare's doors, `detail.code` of a resume's `checkpoint.config_refused`
 * ({@link CHECKPOINT_CONFIG_REFUSAL_CODES} — the subset a resume's pre-claim screen can carry, typed against this set), the thrown error of a library
 * entry that refuses at the same kind of door (the memory engine's requests and scope contract, the MCP probe, the web tool's knobs, the protocol
 * auth head, the containment faces), and the tool-declaration door (`TOOL_DECLARATION_CODES`, also a subset of this set). The set is the NAMESPACE's
 * registry, not the prepare path's: whether a given word is reachable from `runTask` is a fact about the door, which a syntax reader cannot decide,
 * and a word a host never meets costs it one status row.
 *
 * NOT members: a notice word (`ENGINE_NOTICE_CODES`) that is only ever a notice's `code` — a disclosure, never a refusal; a family-shaped string that
 * is no code at all (a trace frame's `kind`, a station name — `scripts/config-refusal-nonwords.json`, each with its reason). A notice word that is ALSO
 * thrown (the retired-tool-name refusal, `config.read_deny_floor_unkept`, `config.tool_model_gate_env_invalid`, the sandbox's
 * `config.command_sandbox_unavailable`) is a member.
 *
 * A CLOSED SET with one home, registered in `docs/CLOSED-SETS.md`; `gate:closed-sets` holds the whole family to it: every family literal under
 * `src/` is a member, a notice word in a notice's `code`, or a ledgered non-word, and every member is still spelled somewhere.
 */
export declare const CONFIG_REFUSAL_CODES: readonly ["config.a2a_inside_incomplete", "config.a2a_peer_name_collision", "config.advisor_model_invalid", "config.advisor_tool_invalid", "config.agent.duplicate", "config.agent.invalid", "config.agent.reserved_name", "config.agent.unknown_model", "config.agent.unknown_tool", "config.agent_config_dir_invalid", "config.agent_home_dir_invalid", "config.agents.no_delegation_tool", "config.approval_reach_invalid", "config.attachment_invalid", "config.auto_consolidation", "config.auto_mode_classifier_fallback_invalid", "config.auto_mode_denial_limit_invalid", "config.auto_mode_rate_limit_break_invalid", "config.auto_mode_timeout_invalid", "config.brain_call_guardrail_invalid", "config.cascade_invalid", "config.circuit_breaker_invalid", "config.command_sandbox_unavailable", "config.compliance_denied", "config.compliance_posture", "config.compliance_required", "config.context_settings_unknown_word", "config.credential_in_declaration", "config.credential_ref_invalid", "config.cross_boundary_posture", "config.cwd_conflicts_restore", "config.cwd_not_honored", "config.cwd_outside_root", "config.cwd_unsupported", "config.defer_mode_invalid", "config.delegation_entry_caps", "config.deployment_shape", "config.deps_retired_key", "config.egress_requires_write_effect", "config.empty_objective", "config.env_lifetime_invalid", "config.execution_env_home_dir_invalid", "config.extra_body_output_cap", "config.extra_tool_names", "config.host_floor_invalid", "config.host_floor_refused", "config.image_invalid", "config.interaction_posture", "config.interaction_wiring", "config.invalid_argument", "config.invalid_checkpoint_store", "config.invalid_file_history_capture", "config.invalid_file_history_store", "config.invalid_governance_baseline", "config.invalid_on_track_failure", "config.invalid_output_schema", "config.invalid_permission_rules", "config.invalid_session_store", "config.invalid_task_registry", "config.invalid_tool_name_set", "config.language_invalid", "config.legacy_tool_name", "config.limit_invalid", "config.limit_unknown_key", "config.locked_key", "config.locked_registry", "config.mcp_content_class", "config.mcp_dialable_failed", "config.mcp_fingerprint_invalid", "config.mcp_first_request_wait_invalid", "config.mcp_host_seat_missing", "config.mcp_host_seat_undeclared", "config.mcp_pool_foreign_connection", "config.mcp_probe_option", "config.mcp_server_name_collision", "config.mcp_startup_timeout_invalid", "config.memory_capture_policy", "config.memory_capture_spelling", "config.memory_capture_unsupported", "config.memory_challenge_request", "config.memory_consolidation", "config.memory_consolidation_driver", "config.memory_consolidation_lease_required", "config.memory_consolidation_provenance_off", "config.memory_consolidation_replica_local", "config.memory_consolidation_write_gate", "config.memory_delegation_evidence", "config.memory_dir_not_backend_root", "config.memory_distiller_purity_contract", "config.memory_dual_root_overlap", "config.memory_erasure_request", "config.memory_erasure_scope", "config.memory_export_request", "config.memory_hold_timeout", "config.memory_import_request", "config.memory_persistence_invalid", "config.memory_project_identity", "config.memory_project_key_spelling", "config.memory_project_marker", "config.memory_project_marker_nested", "config.memory_provenance", "config.memory_reanchor", "config.memory_rebuild_reason", "config.memory_scope_key", "config.memory_scope_placement", "config.memory_scope_spelling", "config.memory_sync_cursor_mismatch", "config.memory_sync_store", "config.memory_sync_target_mismatch", "config.memory_write_scope_mismatch", "config.microcompact_invalid", "config.missing_scope", "config.model_fallback_invalid", "config.mods_invalid", "config.nothing_to_wake", "config.output_style_invalid", "config.parent_spec_seat_missing", "config.peer_answer_invalid", "config.peer_presence_invalid", "config.peer_seat_missing", "config.permission_mode_invalid", "config.persisted_rule_bucket_missing", "config.placement_not_honored", "config.placement_root_invalid", "config.plan_file_invalid", "config.plaintext_origins_invalid", "config.principal_inbox_consumer_invalid", "config.project_id_invalid", "config.project_identity_mismatch", "config.prompt_selector_invalid", "config.prompt_trait_unknown", "config.protocol_endpoint_unbound", "config.protocol_header_collision", "config.protocol_plaintext_credentials", "config.read_deny_floor_unkept", "config.read_face_invalid", "config.read_face_org_task_escalation", "config.read_face_read_block_conflict", "config.read_face_readonly_conflict", "config.read_face_seat", "config.registry_scope_mismatch", "config.reserved_tool_name", "config.retention_capability", "config.retention_policy", "config.retention_policy_invalid", "config.run_origin_invalid", "config.safe_vars_reserved_name", "config.sandbox_admission_unavailable", "config.sandbox_settings_invalid", "config.session_box_floor_mismatch", "config.session_rules_unreadable", "config.session_workspace_changed", "config.session_workspace_invalid", "config.shell_gate_value_retired", "config.skill_base_dir_invalid", "config.skill_deny_unreadable", "config.skill_listing_budget_invalid", "config.spec_member_unreadable", "config.spec_retired_key", "config.spec_unknown_key", "config.stale_tool_result_offload_invalid", "config.stall_timeout_invalid", "config.stall_timeout_retired", "config.store_durability_invalid", "config.store_fidelity_invalid", "config.tool_contract_too_long", "config.tool_face_control", "config.tool_face_invalid", "config.tool_materialize_invalid", "config.tool_materialize_unreachable", "config.tool_model_gate_env_invalid", "config.tool_model_gate_invalid", "config.tool_mount_denied", "config.tool_name_invalid", "config.tool_name_too_long", "config.tool_roster_bound", "config.tool_roster_mount_tag", "config.tool_roster_origin", "config.tool_schema_bound", "config.tool_search_invalid", "config.toolpolicy.unmatched_names", "config.unknown_role", "config.usage_window_invalid", "config.usage_window_unpriced", "config.user_attachment_invalid", "config.user_invoked_skill_unknown", "config.verify_internals_invalid", "config.web_max_bytes_invalid", "config.web_search_max_results_invalid", "config.web_summary_max_content_invalid", "config.web_timeout_invalid", "config.write_exempt_dir_covers_root", "config.write_face_invalid", "config.write_face_org_task_escalation", "config.write_face_readonly_conflict", "resume_at.before_root_unsupported", "resume_at.before_target_not_user", "resume_at.conflicts_resume", "resume_at.empty_branch", "resume_at.invalid_mode", "resume_at.mode_without_target", "resume_at.no_session", "resume_at.not_found", "resume_at.open_tool_call", "resume_at.outside_window"];
export type ConfigRefusalCode = (typeof CONFIG_REFUSAL_CODES)[number];
/**
 * The CLASS of every `resume_at.*` word the ENGINE throws, declared beside the words — so a client that must decide "is the request still
 * meaningful without its anchor?" reads one answer from the engine instead of drawing its own boundary through the family by reading source.
 * Three classes, and the line between them is what the engine had to read:
 *  - `anchor_missing` — the store did not hand over the entry the anchor names (`resume_at.not_found`). NOT "the entry does not exist": on a
 *    store that loads only a bounded tail of the log, an entry below the window's floor reads the same way (the store answers "not held";
 *    a separate matter), so the word says what the engine could get, not what the log holds.
 *  - `anchor_unusable` — the entry was handed over, and the request cannot be carried out from it: a run continued from where it lands would
 *    first close a tool call with no result (`open_tool_call`), the entry is a branch move to the empty branch, so it names no conversation to
 *    continue (`empty_branch`), a "before" landing needs a person's words (`before_target_not_user`) with a parent to land on — the log's root
 *    has none (`before_root_unsupported`), or the store the request landed on does not hold the branch whole (`outside_window` — the target WAS
 *    obtained, so a reader that took every `resume_at.*` word for "the anchor is gone" and resent without it would continue the unrewound
 *    branch). Another anchor, another mode, or another handle may do; no anchor is not the same request.
 *  - `request_malformed` — decided from the request alone, at the config door, before anything of the session was read
 *    (`conflicts_resume`, `no_session`, `mode_without_target`, `invalid_mode`).
 * ONLY the engine's own words are in the table: the words of {@link CONFIG_REFUSAL_CODES}. A `resume_at.*` word a layer above the engine
 * answers before the request reaches it (the server's `resume_at.unknown_event`) is that layer's to declare, and is not here.
 *
 * Total over the family at compile time: a `resume_at.*` word added to {@link CONFIG_REFUSAL_CODES} with no row here (or a row for a word not
 * in it) is a type error at this table.
 */
export declare const RESUME_AT_REFUSAL_CLASSES: readonly ["anchor_missing", "anchor_unusable", "request_malformed"];
export type ResumeAtRefusalClass = (typeof RESUME_AT_REFUSAL_CLASSES)[number];
export declare const RESUME_AT_REFUSAL_CLASS: Readonly<{
    readonly "resume_at.not_found": "anchor_missing";
    readonly "resume_at.open_tool_call": "anchor_unusable";
    readonly "resume_at.empty_branch": "anchor_unusable";
    readonly "resume_at.before_target_not_user": "anchor_unusable";
    readonly "resume_at.before_root_unsupported": "anchor_unusable";
    readonly "resume_at.outside_window": "anchor_unusable";
    readonly "resume_at.conflicts_resume": "request_malformed";
    readonly "resume_at.no_session": "request_malformed";
    readonly "resume_at.mode_without_target": "request_malformed";
    readonly "resume_at.invalid_mode": "request_malformed";
}>;
/**
 * Whether `code` is an engine word of the class `anchor_missing` — the store did not hand over the entry `resumeAt` names
 * ({@link RESUME_AT_REFUSAL_CLASS}). The root predicate covers the ENGINE's words only: a word that is not in the table — a `resume_at.*`
 * word of a layer above the engine (the server's `resume_at.unknown_event`), another family's word, a value that is no string — answers
 * `false`, which says "not an engine word of that class", never "the anchor is there". Such a word is that layer's to classify.
 */
export declare function isResumeAtAnchorMissing(code: unknown): boolean;
