import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
/**
 * @generated from protobuf message nimi.runtime.v1.ScopedRuntimeBindingAttachment
 */
export interface ScopedRuntimeBindingAttachment {
    /**
     * @generated from protobuf field: string binding_id = 1
     */
    bindingId: string;
    /**
     * @generated from protobuf field: string binding_handle = 2
     */
    bindingHandle: string;
    /**
     * @generated from protobuf field: string runtime_app_id = 3
     */
    runtimeAppId: string;
    /**
     * @generated from protobuf field: string app_instance_id = 4
     */
    appInstanceId: string;
    /**
     * @generated from protobuf field: string window_id = 5
     */
    windowId: string;
    /**
     * @generated from protobuf field: string avatar_instance_id = 6
     */
    avatarInstanceId: string;
    /**
     * @generated from protobuf field: string agent_id = 7
     */
    agentId: string;
    /**
     * @generated from protobuf field: string conversation_anchor_id = 8
     */
    conversationAnchorId: string;
    /**
     * @generated from protobuf field: string world_id = 9
     */
    worldId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.WorkspaceBindingAttachment
 */
export interface WorkspaceBindingAttachment {
    /**
     * @generated from protobuf field: string binding_id = 1
     */
    bindingId: string;
    /**
     * @generated from protobuf field: string binding_handle = 2
     */
    bindingHandle: string;
    /**
     * @generated from protobuf field: string runtime_app_id = 3
     */
    runtimeAppId: string;
    /**
     * @generated from protobuf field: string app_instance_id = 4
     */
    appInstanceId: string;
    /**
     * @generated from protobuf field: string workspace_id = 5
     */
    workspaceId: string;
    /**
     * @generated from protobuf field: string realm_environment_id = 6
     */
    realmEnvironmentId: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.UsageStats
 */
export interface UsageStats {
    /**
     * @generated from protobuf field: int64 input_tokens = 1
     */
    inputTokens: string;
    /**
     * @generated from protobuf field: int64 output_tokens = 2
     */
    outputTokens: string;
    /**
     * @generated from protobuf field: int64 compute_ms = 3
     */
    computeMs: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ResourceSelectors
 */
export interface ResourceSelectors {
    /**
     * @generated from protobuf field: repeated string conversation_ids = 1
     */
    conversationIds: string[];
    /**
     * @generated from protobuf field: repeated string message_ids = 2
     */
    messageIds: string[];
    /**
     * @generated from protobuf field: repeated string document_ids = 3
     */
    documentIds: string[];
    /**
     * @generated from protobuf field: map<string, string> labels = 10
     */
    labels: {
        [key: string]: string;
    };
}
/**
 * @generated from protobuf message nimi.runtime.v1.ConsentRef
 */
export interface ConsentRef {
    /**
     * @generated from protobuf field: string subject_user_id = 1
     */
    subjectUserId: string;
    /**
     * @generated from protobuf field: string consent_id = 2
     */
    consentId: string;
    /**
     * @generated from protobuf field: string consent_version = 3
     */
    consentVersion: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.ErrorInfo
 */
export interface ErrorInfo {
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 1
     */
    reasonCode: ReasonCode;
    /**
     * @generated from protobuf field: string action_hint = 2
     */
    actionHint: string;
    /**
     * @generated from protobuf field: string message = 3
     */
    message: string;
}
/**
 * @generated from protobuf message nimi.runtime.v1.Ack
 */
export interface Ack {
    /**
     * @generated from protobuf field: bool ok = 1
     */
    ok: boolean;
    /**
     * @generated from protobuf field: nimi.runtime.v1.ReasonCode reason_code = 2
     */
    reasonCode: ReasonCode;
    /**
     * @generated from protobuf field: string action_hint = 3
     */
    actionHint: string;
}
/**
 * @generated from protobuf enum nimi.runtime.v1.ReasonCode
 */
export declare enum ReasonCode {
    /**
     * General (0–8): stable, not in reason-codes.yaml but implementation-required.
     *
     * @generated from protobuf enum value: REASON_CODE_UNSPECIFIED = 0;
     */
    REASON_CODE_UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: ACTION_EXECUTED = 1;
     */
    ACTION_EXECUTED = 1,
    /**
     * @generated from protobuf enum value: PROTOCOL_ENVELOPE_INVALID = 2;
     */
    PROTOCOL_ENVELOPE_INVALID = 2,
    /**
     * @generated from protobuf enum value: PROTOCOL_DOMAIN_FIELD_CONFLICT = 3;
     */
    PROTOCOL_DOMAIN_FIELD_CONFLICT = 3,
    /**
     * @generated from protobuf enum value: CAPABILITY_CATALOG_MISMATCH = 4;
     */
    CAPABILITY_CATALOG_MISMATCH = 4,
    /**
     * @generated from protobuf enum value: APP_NOT_REGISTERED = 5;
     */
    APP_NOT_REGISTERED = 5,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_NOT_REGISTERED = 6;
     */
    EXTERNAL_PRINCIPAL_NOT_REGISTERED = 6,
    /**
     * @generated from protobuf enum value: SESSION_EXPIRED = 7;
     */
    SESSION_EXPIRED = 7,
    /**
     * @generated from protobuf enum value: PRINCIPAL_UNAUTHORIZED = 8;
     */
    PRINCIPAL_UNAUTHORIZED = 8,
    /**
     * App authorization (100–114, 117): stable legacy range.
     *
     * @generated from protobuf enum value: APP_AUTHORIZATION_DENIED = 100;
     */
    APP_AUTHORIZATION_DENIED = 100,
    /**
     * @generated from protobuf enum value: APP_GRANT_INVALID = 101;
     */
    APP_GRANT_INVALID = 101,
    /**
     * @generated from protobuf enum value: APP_TOKEN_EXPIRED = 102;
     */
    APP_TOKEN_EXPIRED = 102,
    /**
     * @generated from protobuf enum value: APP_TOKEN_REVOKED = 103;
     */
    APP_TOKEN_REVOKED = 103,
    /**
     * 104 → reserved (moved to APP_SCOPE_FORBIDDEN = 503)
     *
     * @generated from protobuf enum value: APP_SCOPE_CATALOG_UNPUBLISHED = 105;
     */
    APP_SCOPE_CATALOG_UNPUBLISHED = 105,
    /**
     * 106 → reserved (moved to APP_SCOPE_REVOKED = 504)
     *
     * @generated from protobuf enum value: APP_DELEGATION_FORBIDDEN = 107;
     */
    APP_DELEGATION_FORBIDDEN = 107,
    /**
     * @generated from protobuf enum value: APP_DELEGATION_DEPTH_EXCEEDED = 108;
     */
    APP_DELEGATION_DEPTH_EXCEEDED = 108,
    /**
     * @generated from protobuf enum value: APP_RESOURCE_SELECTOR_INVALID = 109;
     */
    APP_RESOURCE_SELECTOR_INVALID = 109,
    /**
     * @generated from protobuf enum value: APP_RESOURCE_OUT_OF_SCOPE = 110;
     */
    APP_RESOURCE_OUT_OF_SCOPE = 110,
    /**
     * @generated from protobuf enum value: APP_CONSENT_MISSING = 111;
     */
    APP_CONSENT_MISSING = 111,
    /**
     * @generated from protobuf enum value: APP_CONSENT_INVALID = 112;
     */
    APP_CONSENT_INVALID = 112,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_PROOF_MISSING = 113;
     */
    EXTERNAL_PRINCIPAL_PROOF_MISSING = 113,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_PROOF_INVALID = 114;
     */
    EXTERNAL_PRINCIPAL_PROOF_INVALID = 114,
    /**
     * 115, 116, 118 → reserved (moved to 500, 501, 502)
     *
     * @generated from protobuf enum value: APP_MODE_WORLD_RELATION_FORBIDDEN = 117;
     */
    APP_MODE_WORLD_RELATION_FORBIDDEN = 117,
    /**
     * AI legacy range (200–213): frozen per spec numbering_note.
     *
     * @generated from protobuf enum value: AI_MODEL_NOT_FOUND = 200;
     */
    AI_MODEL_NOT_FOUND = 200,
    /**
     * @generated from protobuf enum value: AI_MODEL_NOT_READY = 201;
     */
    AI_MODEL_NOT_READY = 201,
    /**
     * @generated from protobuf enum value: AI_PROVIDER_UNAVAILABLE = 202;
     */
    AI_PROVIDER_UNAVAILABLE = 202,
    /**
     * 203 → reserved (moved to AI_PROVIDER_TIMEOUT = 394)
     *
     * @generated from protobuf enum value: AI_ROUTE_UNSUPPORTED = 204;
     */
    AI_ROUTE_UNSUPPORTED = 204,
    /**
     * @generated from protobuf enum value: AI_ROUTE_FALLBACK_DENIED = 205;
     */
    AI_ROUTE_FALLBACK_DENIED = 205,
    /**
     * @generated from protobuf enum value: AI_INPUT_INVALID = 206;
     */
    AI_INPUT_INVALID = 206,
    /**
     * @generated from protobuf enum value: AI_OUTPUT_INVALID = 207;
     */
    AI_OUTPUT_INVALID = 207,
    /**
     * @generated from protobuf enum value: AI_STREAM_BROKEN = 208;
     */
    AI_STREAM_BROKEN = 208,
    /**
     * @generated from protobuf enum value: AI_CONTENT_FILTER_BLOCKED = 209;
     */
    AI_CONTENT_FILTER_BLOCKED = 209,
    /**
     * @generated from protobuf enum value: AI_REQUEST_CREDENTIAL_REQUIRED = 210;
     */
    AI_REQUEST_CREDENTIAL_REQUIRED = 210,
    /**
     * @generated from protobuf enum value: AI_REQUEST_CREDENTIAL_MISSING = 211;
     */
    AI_REQUEST_CREDENTIAL_MISSING = 211,
    /**
     * @generated from protobuf enum value: AI_REQUEST_CREDENTIAL_INVALID = 212;
     */
    AI_REQUEST_CREDENTIAL_INVALID = 212,
    /**
     * @generated from protobuf enum value: AI_REQUEST_CREDENTIAL_SCOPE_FORBIDDEN = 213;
     */
    AI_REQUEST_CREDENTIAL_SCOPE_FORBIDDEN = 213,
    /**
     * AUTH family (300+)
     *
     * @generated from protobuf enum value: AUTH_TOKEN_INVALID = 300;
     */
    AUTH_TOKEN_INVALID = 300,
    /**
     * @generated from protobuf enum value: AUTH_TOKEN_EXPIRED = 301;
     */
    AUTH_TOKEN_EXPIRED = 301,
    /**
     * @generated from protobuf enum value: AUTH_UNSUPPORTED_PROOF_TYPE = 302;
     */
    AUTH_UNSUPPORTED_PROOF_TYPE = 302,
    /**
     * @generated from protobuf enum value: AUTH_REVOCATION_UNAVAILABLE = 303;
     */
    AUTH_REVOCATION_UNAVAILABLE = 303,
    /**
     * CONNECTOR family (310+)
     *
     * @generated from protobuf enum value: AI_CONNECTOR_NOT_FOUND = 310;
     */
    AI_CONNECTOR_NOT_FOUND = 310,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_DISABLED = 311;
     */
    AI_CONNECTOR_DISABLED = 311,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_CREDENTIAL_MISSING = 312;
     */
    AI_CONNECTOR_CREDENTIAL_MISSING = 312,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_INVALID = 313;
     */
    AI_CONNECTOR_INVALID = 313,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_IMMUTABLE = 314;
     */
    AI_CONNECTOR_IMMUTABLE = 314,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_LIMIT_EXCEEDED = 315;
     */
    AI_CONNECTOR_LIMIT_EXCEEDED = 315,
    /**
     * @generated from protobuf enum value: AI_CONNECTOR_ID_REQUIRED = 316;
     */
    AI_CONNECTOR_ID_REQUIRED = 316,
    /**
     * REQUEST_CREDENTIAL family (330)
     *
     * @generated from protobuf enum value: AI_REQUEST_CREDENTIAL_CONFLICT = 330;
     */
    AI_REQUEST_CREDENTIAL_CONFLICT = 330,
    /**
     * APP family (340+)
     *
     * @generated from protobuf enum value: AI_APP_ID_REQUIRED = 340;
     */
    AI_APP_ID_REQUIRED = 340,
    /**
     * @generated from protobuf enum value: AI_APP_ID_CONFLICT = 341;
     */
    AI_APP_ID_CONFLICT = 341,
    /**
     * MODEL family (350+)
     *
     * @generated from protobuf enum value: AI_MODEL_ID_REQUIRED = 350;
     */
    AI_MODEL_ID_REQUIRED = 350,
    /**
     * @generated from protobuf enum value: AI_MODALITY_NOT_SUPPORTED = 351;
     */
    AI_MODALITY_NOT_SUPPORTED = 351,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MODEL_UNAVAILABLE = 352;
     */
    AI_LOCAL_MODEL_UNAVAILABLE = 352,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MODEL_PROFILE_MISSING = 353;
     */
    AI_LOCAL_MODEL_PROFILE_MISSING = 353,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MODEL_ALREADY_INSTALLED = 354;
     */
    AI_LOCAL_MODEL_ALREADY_INSTALLED = 354,
    /**
     * @generated from protobuf enum value: AI_LOCAL_ENDPOINT_REQUIRED = 355;
     */
    AI_LOCAL_ENDPOINT_REQUIRED = 355,
    /**
     * @generated from protobuf enum value: AI_LOCAL_TEMPLATE_NOT_FOUND = 356;
     */
    AI_LOCAL_TEMPLATE_NOT_FOUND = 356,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MANIFEST_INVALID = 357;
     */
    AI_LOCAL_MANIFEST_INVALID = 357,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MODEL_INVALID_TRANSITION = 358;
     */
    AI_LOCAL_MODEL_INVALID_TRANSITION = 358,
    /**
     * @generated from protobuf enum value: AI_LOCAL_DOWNLOAD_FAILED = 359;
     */
    AI_LOCAL_DOWNLOAD_FAILED = 359,
    /**
     * @generated from protobuf enum value: AI_LOCAL_DOWNLOAD_HASH_MISMATCH = 360;
     */
    AI_LOCAL_DOWNLOAD_HASH_MISMATCH = 360,
    /**
     * @generated from protobuf enum value: AI_LOCAL_HF_REPO_INVALID = 361;
     */
    AI_LOCAL_HF_REPO_INVALID = 361,
    /**
     * @generated from protobuf enum value: AI_LOCAL_HF_SEARCH_FAILED = 362;
     */
    AI_LOCAL_HF_SEARCH_FAILED = 362,
    /**
     * @generated from protobuf enum value: AI_LOCAL_MANIFEST_SCHEMA_INVALID = 363;
     */
    AI_LOCAL_MANIFEST_SCHEMA_INVALID = 363,
    /**
     * LOCAL_SERVICE family (364+)
     *
     * @generated from protobuf enum value: AI_LOCAL_SERVICE_UNAVAILABLE = 364;
     */
    AI_LOCAL_SERVICE_UNAVAILABLE = 364,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SERVICE_ALREADY_INSTALLED = 365;
     */
    AI_LOCAL_SERVICE_ALREADY_INSTALLED = 365,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SERVICE_INVALID_TRANSITION = 366;
     */
    AI_LOCAL_SERVICE_INVALID_TRANSITION = 366,
    /**
     * @generated from protobuf enum value: AI_LOCAL_ASSET_ALREADY_INSTALLED = 367;
     */
    AI_LOCAL_ASSET_ALREADY_INSTALLED = 367,
    /**
     * @generated from protobuf enum value: AI_LOCAL_ASSET_SLOT_MISSING = 368;
     */
    AI_LOCAL_ASSET_SLOT_MISSING = 368,
    /**
     * @generated from protobuf enum value: AI_LOCAL_ASSET_SLOT_FORBIDDEN = 369;
     */
    AI_LOCAL_ASSET_SLOT_FORBIDDEN = 369,
    /**
     * FINISH family (370+)
     *
     * @generated from protobuf enum value: AI_FINISH_LENGTH = 370;
     */
    AI_FINISH_LENGTH = 370,
    /**
     * @generated from protobuf enum value: AI_FINISH_CONTENT_FILTER = 371;
     */
    AI_FINISH_CONTENT_FILTER = 371,
    /**
     * @generated from protobuf enum value: AI_LOCAL_PROFILE_SLOT_CONFLICT = 376;
     */
    AI_LOCAL_PROFILE_SLOT_CONFLICT = 376,
    /**
     * @generated from protobuf enum value: AI_LOCAL_PROFILE_OVERRIDE_FORBIDDEN = 377;
     */
    AI_LOCAL_PROFILE_OVERRIDE_FORBIDDEN = 377,
    /**
     * MODEL_ROUTE family (380+)
     *
     * @generated from protobuf enum value: AI_MODEL_PROVIDER_MISMATCH = 380;
     */
    AI_MODEL_PROVIDER_MISMATCH = 380,
    /**
     * PROVIDER family (390+)
     *
     * @generated from protobuf enum value: AI_PROVIDER_ENDPOINT_FORBIDDEN = 390;
     */
    AI_PROVIDER_ENDPOINT_FORBIDDEN = 390,
    /**
     * @generated from protobuf enum value: AI_PROVIDER_AUTH_FAILED = 391;
     */
    AI_PROVIDER_AUTH_FAILED = 391,
    /**
     * @generated from protobuf enum value: AI_PROVIDER_INTERNAL = 392;
     */
    AI_PROVIDER_INTERNAL = 392,
    /**
     * @generated from protobuf enum value: AI_PROVIDER_RATE_LIMITED = 393;
     */
    AI_PROVIDER_RATE_LIMITED = 393,
    /**
     * @generated from protobuf enum value: AI_PROVIDER_TIMEOUT = 394;
     */
    AI_PROVIDER_TIMEOUT = 394,
    /**
     * MEDIA family (410+)
     *
     * @generated from protobuf enum value: AI_MEDIA_SPEC_INVALID = 410;
     */
    AI_MEDIA_SPEC_INVALID = 410,
    /**
     * @generated from protobuf enum value: AI_MEDIA_OPTION_UNSUPPORTED = 411;
     */
    AI_MEDIA_OPTION_UNSUPPORTED = 411,
    /**
     * @generated from protobuf enum value: AI_MEDIA_JOB_NOT_FOUND = 412;
     */
    AI_MEDIA_JOB_NOT_FOUND = 412,
    /**
     * @generated from protobuf enum value: AI_MEDIA_JOB_NOT_CANCELLABLE = 413;
     */
    AI_MEDIA_JOB_NOT_CANCELLABLE = 413,
    /**
     * @generated from protobuf enum value: AI_MEDIA_IDEMPOTENCY_CONFLICT = 414;
     */
    AI_MEDIA_IDEMPOTENCY_CONFLICT = 414,
    /**
     * @generated from protobuf enum value: AI_ARTIFACT_UPLOAD_INVALID = 415;
     */
    AI_ARTIFACT_UPLOAD_INVALID = 415,
    /**
     * @generated from protobuf enum value: AI_ARTIFACT_UPLOAD_TOO_LARGE = 416;
     */
    AI_ARTIFACT_UPLOAD_TOO_LARGE = 416,
    /**
     * @generated from protobuf enum value: AI_REALTIME_SESSION_NOT_FOUND = 417;
     */
    AI_REALTIME_SESSION_NOT_FOUND = 417,
    /**
     * @generated from protobuf enum value: AI_REALTIME_SESSION_CLOSED = 418;
     */
    AI_REALTIME_SESSION_CLOSED = 418,
    /**
     * VOICE family (420+)
     *
     * @generated from protobuf enum value: AI_VOICE_INPUT_INVALID = 420;
     */
    AI_VOICE_INPUT_INVALID = 420,
    /**
     * @generated from protobuf enum value: AI_VOICE_WORKFLOW_UNSUPPORTED = 421;
     */
    AI_VOICE_WORKFLOW_UNSUPPORTED = 421,
    /**
     * @generated from protobuf enum value: AI_VOICE_ASSET_NOT_FOUND = 422;
     */
    AI_VOICE_ASSET_NOT_FOUND = 422,
    /**
     * @generated from protobuf enum value: AI_VOICE_ASSET_EXPIRED = 423;
     */
    AI_VOICE_ASSET_EXPIRED = 423,
    /**
     * @generated from protobuf enum value: AI_VOICE_ASSET_SCOPE_FORBIDDEN = 424;
     */
    AI_VOICE_ASSET_SCOPE_FORBIDDEN = 424,
    /**
     * @generated from protobuf enum value: AI_VOICE_TARGET_MODEL_MISMATCH = 425;
     */
    AI_VOICE_TARGET_MODEL_MISMATCH = 425,
    /**
     * @generated from protobuf enum value: AI_VOICE_JOB_NOT_FOUND = 426;
     */
    AI_VOICE_JOB_NOT_FOUND = 426,
    /**
     * @generated from protobuf enum value: AI_VOICE_JOB_NOT_CANCELLABLE = 427;
     */
    AI_VOICE_JOB_NOT_CANCELLABLE = 427,
    /**
     * MODULE family (430+)
     *
     * @generated from protobuf enum value: AI_MODULE_CONFIG_INVALID = 430;
     */
    AI_MODULE_CONFIG_INVALID = 430,
    /**
     * WORKFLOW family (440+)
     *
     * @generated from protobuf enum value: WF_DAG_INVALID = 440;
     */
    WF_DAG_INVALID = 440,
    /**
     * @generated from protobuf enum value: WF_NODE_CONFIG_MISMATCH = 441;
     */
    WF_NODE_CONFIG_MISMATCH = 441,
    /**
     * @generated from protobuf enum value: WF_TIMEOUT = 442;
     */
    WF_TIMEOUT = 442,
    /**
     * @generated from protobuf enum value: WF_TASK_NOT_FOUND = 443;
     */
    WF_TASK_NOT_FOUND = 443,
    /**
     * APP_AUTH family (500+)
     *
     * @generated from protobuf enum value: APP_MODE_DOMAIN_FORBIDDEN = 500;
     */
    APP_MODE_DOMAIN_FORBIDDEN = 500,
    /**
     * @generated from protobuf enum value: APP_MODE_SCOPE_FORBIDDEN = 501;
     */
    APP_MODE_SCOPE_FORBIDDEN = 501,
    /**
     * @generated from protobuf enum value: APP_MODE_MANIFEST_INVALID = 502;
     */
    APP_MODE_MANIFEST_INVALID = 502,
    /**
     * @generated from protobuf enum value: APP_SCOPE_FORBIDDEN = 503;
     */
    APP_SCOPE_FORBIDDEN = 503,
    /**
     * @generated from protobuf enum value: APP_SCOPE_REVOKED = 504;
     */
    APP_SCOPE_REVOKED = 504,
    /**
     * @generated from protobuf enum value: APP_MESSAGE_PAYLOAD_TOO_LARGE = 550;
     */
    APP_MESSAGE_PAYLOAD_TOO_LARGE = 550,
    /**
     * @generated from protobuf enum value: APP_MESSAGE_RATE_LIMITED = 551;
     */
    APP_MESSAGE_RATE_LIMITED = 551,
    /**
     * @generated from protobuf enum value: APP_MESSAGE_LOOP_DETECTED = 552;
     */
    APP_MESSAGE_LOOP_DETECTED = 552,
    /**
     * APP_INSTALL family (553+) — Nimi App install/uninstall lifecycle
     * fail-closed reasons. Each reason is distinct and is never collapsed
     * into a generic value.
     *
     * @generated from protobuf enum value: APP_INSTALL_DESCRIPTOR_NOT_FOUND = 553;
     */
    APP_INSTALL_DESCRIPTOR_NOT_FOUND = 553,
    /**
     * @generated from protobuf enum value: APP_INSTALL_DIGEST_MISMATCH = 554;
     */
    APP_INSTALL_DIGEST_MISMATCH = 554,
    /**
     * @generated from protobuf enum value: APP_INSTALL_MANIFEST_INVALID = 555;
     */
    APP_INSTALL_MANIFEST_INVALID = 555,
    /**
     * @generated from protobuf enum value: APP_INSTALL_STORAGE_VIOLATION = 556;
     */
    APP_INSTALL_STORAGE_VIOLATION = 556,
    /**
     * @generated from protobuf enum value: APP_INSTALL_DOWNLOAD_FAILED = 557;
     */
    APP_INSTALL_DOWNLOAD_FAILED = 557,
    /**
     * @generated from protobuf enum value: APP_INSTALL_UNPACK_FAILED = 558;
     */
    APP_INSTALL_UNPACK_FAILED = 558,
    /**
     * @generated from protobuf enum value: APP_INSTALL_INTERNAL = 559;
     */
    APP_INSTALL_INTERNAL = 559,
    /**
     * APP_UPDATE / APP_REPAIR family (590+) — Nimi App update + health/repair
     * lifecycle fail-closed reasons. Each reason is distinct and is never
     * collapsed into a generic value (K-APP-015 / K-APP-016).
     *
     * @generated from protobuf enum value: APP_UPDATE_NOT_AVAILABLE = 590;
     */
    APP_UPDATE_NOT_AVAILABLE = 590,
    /**
     * @generated from protobuf enum value: APP_UPDATE_NOT_INSTALLED = 591;
     */
    APP_UPDATE_NOT_INSTALLED = 591,
    /**
     * @generated from protobuf enum value: APP_UPDATE_CONFIRMATION_REQUIRED = 592;
     */
    APP_UPDATE_CONFIRMATION_REQUIRED = 592,
    /**
     * @generated from protobuf enum value: APP_UPDATE_SWAP_FAILED = 593;
     */
    APP_UPDATE_SWAP_FAILED = 593,
    /**
     * @generated from protobuf enum value: APP_REPAIR_ACTION_INVALID = 594;
     */
    APP_REPAIR_ACTION_INVALID = 594,
    /**
     * @generated from protobuf enum value: APP_REPAIR_NO_RECOVERABLE_JOB = 595;
     */
    APP_REPAIR_NO_RECOVERABLE_JOB = 595,
    /**
     * @generated from protobuf enum value: APP_REPAIR_NOT_REPAIRABLE = 596;
     */
    APP_REPAIR_NOT_REPAIRABLE = 596,
    /**
     * @generated from protobuf enum value: APP_LIFECYCLE_JOB_CANCELLED = 597;
     */
    APP_LIFECYCLE_JOB_CANCELLED = 597,
    /**
     * LOCAL_SPEECH family (560+)
     *
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_PREFLIGHT_BLOCKED = 560;
     */
    AI_LOCAL_SPEECH_PREFLIGHT_BLOCKED = 560,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_DOWNLOAD_CONFIRMATION_REQUIRED = 561;
     */
    AI_LOCAL_SPEECH_DOWNLOAD_CONFIRMATION_REQUIRED = 561,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_ENV_INIT_FAILED = 562;
     */
    AI_LOCAL_SPEECH_ENV_INIT_FAILED = 562,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_HOST_INIT_FAILED = 563;
     */
    AI_LOCAL_SPEECH_HOST_INIT_FAILED = 563,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_CAPABILITY_DOWNLOAD_FAILED = 564;
     */
    AI_LOCAL_SPEECH_CAPABILITY_DOWNLOAD_FAILED = 564,
    /**
     * @generated from protobuf enum value: AI_LOCAL_SPEECH_BUNDLE_DEGRADED = 565;
     */
    AI_LOCAL_SPEECH_BUNDLE_DEGRADED = 565,
    /**
     * WORKSPACE_BINDING family (570+)
     *
     * @generated from protobuf enum value: WORKSPACE_BINDING_MISSING = 570;
     */
    WORKSPACE_BINDING_MISSING = 570,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_MALFORMED = 571;
     */
    WORKSPACE_BINDING_MALFORMED = 571,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_NOT_FOUND = 572;
     */
    WORKSPACE_BINDING_NOT_FOUND = 572,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_REVOKED = 573;
     */
    WORKSPACE_BINDING_REVOKED = 573,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_EXPIRED = 574;
     */
    WORKSPACE_BINDING_EXPIRED = 574,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_REPLAY = 575;
     */
    WORKSPACE_BINDING_REPLAY = 575,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_ACCOUNT_UNAVAILABLE = 576;
     */
    WORKSPACE_BINDING_ACCOUNT_UNAVAILABLE = 576,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_CALLER_MISMATCH = 577;
     */
    WORKSPACE_BINDING_CALLER_MISMATCH = 577,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_WORKSPACE_MISMATCH = 578;
     */
    WORKSPACE_BINDING_WORKSPACE_MISMATCH = 578,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_ENV_DEVICE_MISMATCH = 579;
     */
    WORKSPACE_BINDING_ENV_DEVICE_MISMATCH = 579,
    /**
     * @generated from protobuf enum value: WORKSPACE_BINDING_SCOPE_MISSING = 580;
     */
    WORKSPACE_BINDING_SCOPE_MISSING = 580,
    /**
     * GRANT family (510+)
     *
     * @generated from protobuf enum value: GRANT_TOKEN_CHAIN_ROOT_NOT_FOUND = 510;
     */
    GRANT_TOKEN_CHAIN_ROOT_NOT_FOUND = 510,
    /**
     * @generated from protobuf enum value: GRANT_TOKEN_CHAIN_ROOT_REQUIRED = 511;
     */
    GRANT_TOKEN_CHAIN_ROOT_REQUIRED = 511,
    /**
     * PAGE family (520+)
     *
     * @generated from protobuf enum value: PAGE_TOKEN_INVALID = 520;
     */
    PAGE_TOKEN_INVALID = 520,
    /**
     * KNOWLEDGE family (530+)
     *
     * @generated from protobuf enum value: KNOWLEDGE_BANK_ALREADY_EXISTS = 530;
     */
    KNOWLEDGE_BANK_ALREADY_EXISTS = 530,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_NOT_FOUND = 531;
     */
    KNOWLEDGE_BANK_NOT_FOUND = 531,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_SCOPE_INVALID = 532;
     */
    KNOWLEDGE_BANK_SCOPE_INVALID = 532,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_BANK_ACCESS_DENIED = 533;
     */
    KNOWLEDGE_BANK_ACCESS_DENIED = 533,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_PAGE_NOT_FOUND = 534;
     */
    KNOWLEDGE_PAGE_NOT_FOUND = 534,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_PAGE_SLUG_CONFLICT = 535;
     */
    KNOWLEDGE_PAGE_SLUG_CONFLICT = 535,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_PAGE_ACCESS_DENIED = 536;
     */
    KNOWLEDGE_PAGE_ACCESS_DENIED = 536,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_HYBRID_SEARCH_UNAVAILABLE = 537;
     */
    KNOWLEDGE_HYBRID_SEARCH_UNAVAILABLE = 537,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_EMBEDDING_PROFILE_UNAVAILABLE = 538;
     */
    KNOWLEDGE_EMBEDDING_PROFILE_UNAVAILABLE = 538,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_VECTOR_INDEX_NOT_READY = 539;
     */
    KNOWLEDGE_VECTOR_INDEX_NOT_READY = 539,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INDEX_REFRESH_IN_PROGRESS = 540;
     */
    KNOWLEDGE_INDEX_REFRESH_IN_PROGRESS = 540,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_LINK_NOT_FOUND = 541;
     */
    KNOWLEDGE_LINK_NOT_FOUND = 541,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_LINK_ALREADY_EXISTS = 542;
     */
    KNOWLEDGE_LINK_ALREADY_EXISTS = 542,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_LINK_INVALID = 543;
     */
    KNOWLEDGE_LINK_INVALID = 543,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_GRAPH_DEPTH_INVALID = 544;
     */
    KNOWLEDGE_GRAPH_DEPTH_INVALID = 544,
    /**
     * @generated from protobuf enum value: KNOWLEDGE_INGEST_TASK_NOT_FOUND = 545;
     */
    KNOWLEDGE_INGEST_TASK_NOT_FOUND = 545,
    /**
     * ARTIFACT family (600+) — K-AGCORE-053 runtime-artifact-contract
     *
     * @generated from protobuf enum value: ARTIFACT_INVALID_INPUT = 600;
     */
    ARTIFACT_INVALID_INPUT = 600,
    /**
     * @generated from protobuf enum value: ARTIFACT_NOT_FOUND = 601;
     */
    ARTIFACT_NOT_FOUND = 601,
    /**
     * @generated from protobuf enum value: ARTIFACT_TOO_LARGE = 602;
     */
    ARTIFACT_TOO_LARGE = 602,
    /**
     * @generated from protobuf enum value: ARTIFACT_FORBIDDEN = 603;
     */
    ARTIFACT_FORBIDDEN = 603,
    /**
     * @generated from protobuf enum value: ARTIFACT_MIME_MISMATCH = 604;
     */
    ARTIFACT_MIME_MISMATCH = 604,
    /**
     * APP_OPEN family (605+) — Nimi App Open / launch flow (K-APP-017)
     * fail-closed reasons. Each reason is distinct and is never collapsed
     * into a generic value.
     *
     * @generated from protobuf enum value: APP_OPEN_SCOPE_REF_REQUIRED = 605;
     */
    APP_OPEN_SCOPE_REF_REQUIRED = 605,
    /**
     * @generated from protobuf enum value: APP_OPEN_SCOPE_REF_INVALID = 606;
     */
    APP_OPEN_SCOPE_REF_INVALID = 606,
    /**
     * @generated from protobuf enum value: APP_OPEN_PACKAGE_NOT_VERIFIED = 607;
     */
    APP_OPEN_PACKAGE_NOT_VERIFIED = 607,
    /**
     * @generated from protobuf enum value: APP_OPEN_LIBRARY_STATE_INVALID = 608;
     */
    APP_OPEN_LIBRARY_STATE_INVALID = 608,
    /**
     * @generated from protobuf enum value: APP_OPEN_APP_DATA_INVALID = 609;
     */
    APP_OPEN_APP_DATA_INVALID = 609,
    /**
     * @generated from protobuf enum value: APP_OPEN_PERMISSION_NOT_GRANTED = 610;
     */
    APP_OPEN_PERMISSION_NOT_GRANTED = 610,
    /**
     * @generated from protobuf enum value: APP_OPEN_AICONFIG_UNRESOLVED = 611;
     */
    APP_OPEN_AICONFIG_UNRESOLVED = 611,
    /**
     * @generated from protobuf enum value: APP_OPEN_MANIFEST_REQUIREMENT_UNSATISFIED = 612;
     */
    APP_OPEN_MANIFEST_REQUIREMENT_UNSATISFIED = 612,
    /**
     * @generated from protobuf enum value: APP_OPEN_LAUNCH_FAILED = 613;
     */
    APP_OPEN_LAUNCH_FAILED = 613
}
/**
 * @generated from protobuf enum nimi.runtime.v1.ExternalPrincipalType
 */
export declare enum ExternalPrincipalType {
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_TYPE_UNSPECIFIED = 0;
     */
    UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_TYPE_AGENT = 1;
     */
    AGENT = 1,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_TYPE_APP = 2;
     */
    APP = 2,
    /**
     * @generated from protobuf enum value: EXTERNAL_PRINCIPAL_TYPE_SERVICE = 3;
     */
    SERVICE = 3
}
/**
 * @generated from protobuf enum nimi.runtime.v1.CallerKind
 */
export declare enum CallerKind {
    /**
     * @generated from protobuf enum value: CALLER_KIND_UNSPECIFIED = 0;
     */
    UNSPECIFIED = 0,
    /**
     * @generated from protobuf enum value: CALLER_KIND_DESKTOP_CORE = 1;
     */
    DESKTOP_CORE = 1,
    /**
     * @generated from protobuf enum value: CALLER_KIND_DESKTOP_MOD = 2;
     */
    DESKTOP_MOD = 2,
    /**
     * @generated from protobuf enum value: CALLER_KIND_THIRD_PARTY_APP = 3;
     */
    THIRD_PARTY_APP = 3,
    /**
     * @generated from protobuf enum value: CALLER_KIND_THIRD_PARTY_SERVICE = 4;
     */
    THIRD_PARTY_SERVICE = 4
}
declare class ScopedRuntimeBindingAttachment$Type extends MessageType<ScopedRuntimeBindingAttachment> {
    constructor();
    create(value?: PartialMessage<ScopedRuntimeBindingAttachment>): ScopedRuntimeBindingAttachment;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ScopedRuntimeBindingAttachment): ScopedRuntimeBindingAttachment;
    internalBinaryWrite(message: ScopedRuntimeBindingAttachment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ScopedRuntimeBindingAttachment
 */
export declare const ScopedRuntimeBindingAttachment: ScopedRuntimeBindingAttachment$Type;
declare class WorkspaceBindingAttachment$Type extends MessageType<WorkspaceBindingAttachment> {
    constructor();
    create(value?: PartialMessage<WorkspaceBindingAttachment>): WorkspaceBindingAttachment;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WorkspaceBindingAttachment): WorkspaceBindingAttachment;
    internalBinaryWrite(message: WorkspaceBindingAttachment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.WorkspaceBindingAttachment
 */
export declare const WorkspaceBindingAttachment: WorkspaceBindingAttachment$Type;
declare class UsageStats$Type extends MessageType<UsageStats> {
    constructor();
    create(value?: PartialMessage<UsageStats>): UsageStats;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UsageStats): UsageStats;
    internalBinaryWrite(message: UsageStats, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.UsageStats
 */
export declare const UsageStats: UsageStats$Type;
declare class ResourceSelectors$Type extends MessageType<ResourceSelectors> {
    constructor();
    create(value?: PartialMessage<ResourceSelectors>): ResourceSelectors;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ResourceSelectors): ResourceSelectors;
    private binaryReadMap10;
    internalBinaryWrite(message: ResourceSelectors, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ResourceSelectors
 */
export declare const ResourceSelectors: ResourceSelectors$Type;
declare class ConsentRef$Type extends MessageType<ConsentRef> {
    constructor();
    create(value?: PartialMessage<ConsentRef>): ConsentRef;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConsentRef): ConsentRef;
    internalBinaryWrite(message: ConsentRef, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ConsentRef
 */
export declare const ConsentRef: ConsentRef$Type;
declare class ErrorInfo$Type extends MessageType<ErrorInfo> {
    constructor();
    create(value?: PartialMessage<ErrorInfo>): ErrorInfo;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ErrorInfo): ErrorInfo;
    internalBinaryWrite(message: ErrorInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.ErrorInfo
 */
export declare const ErrorInfo: ErrorInfo$Type;
declare class Ack$Type extends MessageType<Ack> {
    constructor();
    create(value?: PartialMessage<Ack>): Ack;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Ack): Ack;
    internalBinaryWrite(message: Ack, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message nimi.runtime.v1.Ack
 */
export declare const Ack: Ack$Type;
export {};
//# sourceMappingURL=common.d.ts.map