export type NimiErrorSource = 'realm' | 'runtime' | 'sdk';
export type NimiError = Error & {
    code: string;
    reasonCode: string;
    actionHint: string;
    traceId: string;
    retryable: boolean;
    source: NimiErrorSource;
    details?: Record<string, unknown>;
};
export declare function isNimiErrorLike(error: unknown): error is NimiError;
export type VersionCompatibilityStatus = {
    state: 'unknown' | 'compatible' | 'incompatible';
    compatible: boolean;
    checked: boolean;
    sdkRuntimeMajor: number;
    runtimeVersion: string | null;
    runtimeMajor: number | null;
    reason?: 'metadata_missing' | 'runtime_version_unparseable' | 'major_mismatch';
};
declare const nimiBrand: unique symbol;
type BrandedString<Brand extends string> = string & {
    readonly [nimiBrand]?: Brand;
};
export type ScopeName = BrandedString<'ScopeName'>;
export type ScopeCatalogVersion = BrandedString<'ScopeCatalogVersion'>;
export type CatalogHash = BrandedString<'CatalogHash'>;
export type ExternalPrincipalId = BrandedString<'ExternalPrincipalId'>;
export declare function asScopeName(value: string): ScopeName;
export declare function asScopeCatalogVersion(value: string): ScopeCatalogVersion;
export declare function asCatalogHash(value: string): CatalogHash;
export declare function asExternalPrincipalId(value: string): ExternalPrincipalId;
export type ScopeDomain = 'realm' | 'runtime' | 'app';
export type ScopeCatalogStatus = 'draft' | 'published' | 'revoked';
export type ScopeManifest = {
    manifestVersion: string;
    scopes: ScopeName[];
};
export type ScopeCatalogEntry = {
    scopeCatalogVersion: ScopeCatalogVersion;
    catalogHash: CatalogHash;
    status: ScopeCatalogStatus;
    scopes: ScopeName[];
};
export type ScopeListCatalogInput = {
    appId: string;
    include?: ScopeDomain[];
};
export type ScopeRegisterAppScopesInput = {
    appId: string;
    manifest: ScopeManifest;
};
export type ScopePublishCatalogInput = {
    appId: string;
};
export type ScopeRevokeAppScopesInput = {
    appId: string;
    scopes: ScopeName[];
};
export type ScopeCatalogDescriptor = {
    appId: string;
    realmScopes: ScopeName[];
    runtimeScopes: ScopeName[];
    appScopes: ScopeName[];
    draft: ScopeCatalogEntry | null;
    published: ScopeCatalogEntry | null;
    revokedScopes: ScopeName[];
};
export type ScopeCatalogPublishResult = ScopeCatalogEntry & {
    publishedAt: string;
};
export type ScopeCatalogRevokeResult = ScopeCatalogEntry & {
    revokedScopes: ScopeName[];
    reauthorizeRequired: boolean;
};
export type AiRoutePolicy = 'local' | 'cloud';
export type AiStreamEventType = 'started' | 'delta' | 'tool_call' | 'tool_result' | 'usage' | 'completed' | 'failed';
export type AuthorizationPreset = 'readOnly' | 'full' | 'delegate';
export type AppPolicyMode = 'preset' | 'custom';
export type AppResourceSelectors = Record<string, string[]>;
export type AppConsentEvidence = {
    subjectUserId: string;
    consentId: string;
    consentVersion: string;
    decisionAt: string;
};
export type AppGrantPolicy = {
    policyVersion: string;
    policyMode: AppPolicyMode;
    preset?: AuthorizationPreset;
    scopes: ScopeName[];
    resourceSelectors?: AppResourceSelectors;
    canDelegate: boolean;
    maxDelegationDepth: number;
    ttlSeconds: number;
};
export type AppAccessTokenDescriptor = {
    tokenId: string;
    appId: string;
    subjectUserId: string;
    externalPrincipalId: ExternalPrincipalId;
    effectiveScopes: ScopeName[];
    policyVersion: string;
    issuedScopeCatalogVersion: ScopeCatalogVersion;
    expiresAt?: string;
};
export type DelegatedAccessTokenDescriptor = {
    tokenId: string;
    parentTokenId: string;
    effectiveScopes: ScopeName[];
    expiresAt?: string;
};
export declare const ReasonCode: {
    readonly ACTION_ACCEPTED: "ACTION_ACCEPTED";
    readonly ACTION_COMMITTED: "ACTION_COMMITTED";
    readonly ACTION_CONTEXT_INVALID: "ACTION_CONTEXT_INVALID";
    readonly ACTION_DRY_RUN_UNSUPPORTED: "ACTION_DRY_RUN_UNSUPPORTED";
    readonly ACTION_EXECUTED: "ACTION_EXECUTED";
    readonly ACTION_EXECUTING: "ACTION_EXECUTING";
    readonly ACTION_EXECUTION_BRIDGE_FAILED: "ACTION_EXECUTION_BRIDGE_FAILED";
    readonly ACTION_EXECUTION_FAILED: "ACTION_EXECUTION_FAILED";
    readonly ACTION_IDEMPOTENCY_KEY_CONFLICT: "ACTION_IDEMPOTENCY_KEY_CONFLICT";
    readonly ACTION_IDEMPOTENCY_KEY_REQUIRED: "ACTION_IDEMPOTENCY_KEY_REQUIRED";
    readonly ACTION_IDEMPOTENCY_REPLAYED: "ACTION_IDEMPOTENCY_REPLAYED";
    readonly ACTION_INPUT_INVALID: "ACTION_INPUT_INVALID";
    readonly ACTION_INPUT_SCHEMA_INVALID: "ACTION_INPUT_SCHEMA_INVALID";
    readonly ACTION_NOT_FOUND: "ACTION_NOT_FOUND";
    readonly ACTION_OPAQUE_HIGH_RISK_FORBIDDEN: "ACTION_OPAQUE_HIGH_RISK_FORBIDDEN";
    readonly ACTION_OUTPUT_SCHEMA_INVALID: "ACTION_OUTPUT_SCHEMA_INVALID";
    readonly ACTION_PERMISSION_DENIED: "ACTION_PERMISSION_DENIED";
    readonly ACTION_RUNTIME_STORE_UNAVAILABLE: "ACTION_RUNTIME_STORE_UNAVAILABLE";
    readonly ACTION_VERIFIED: "ACTION_VERIFIED";
    readonly ACTION_VERIFY_REQUIRED: "ACTION_VERIFY_REQUIRED";
    readonly ACTION_VERIFY_TICKET_EXPIRED: "ACTION_VERIFY_TICKET_EXPIRED";
    readonly ACTION_VERIFY_TICKET_INVALID: "ACTION_VERIFY_TICKET_INVALID";
    readonly ARTIFACT_FORBIDDEN: "ARTIFACT_FORBIDDEN";
    readonly ARTIFACT_INVALID_INPUT: "ARTIFACT_INVALID_INPUT";
    readonly ARTIFACT_MIME_MISMATCH: "ARTIFACT_MIME_MISMATCH";
    readonly ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
    readonly ARTIFACT_TOO_LARGE: "ARTIFACT_TOO_LARGE";
    readonly AI_APP_ID_CONFLICT: "AI_APP_ID_CONFLICT";
    readonly AI_APP_ID_REQUIRED: "AI_APP_ID_REQUIRED";
    readonly AI_CONNECTOR_CREDENTIAL_MISSING: "AI_CONNECTOR_CREDENTIAL_MISSING";
    readonly AI_CONNECTOR_DISABLED: "AI_CONNECTOR_DISABLED";
    readonly AI_CONNECTOR_ID_REQUIRED: "AI_CONNECTOR_ID_REQUIRED";
    readonly AI_CONNECTOR_IMMUTABLE: "AI_CONNECTOR_IMMUTABLE";
    readonly AI_CONNECTOR_INVALID: "AI_CONNECTOR_INVALID";
    readonly AI_CONNECTOR_LIMIT_EXCEEDED: "AI_CONNECTOR_LIMIT_EXCEEDED";
    readonly AI_CONNECTOR_NOT_FOUND: "AI_CONNECTOR_NOT_FOUND";
    readonly AI_CONTENT_FILTER_BLOCKED: "AI_CONTENT_FILTER_BLOCKED";
    readonly AI_FINISH_CONTENT_FILTER: "AI_FINISH_CONTENT_FILTER";
    readonly AI_FINISH_LENGTH: "AI_FINISH_LENGTH";
    readonly AI_INPUT_INVALID: "AI_INPUT_INVALID";
    readonly AI_LOCAL_ENDPOINT_REQUIRED: "AI_LOCAL_ENDPOINT_REQUIRED";
    readonly AI_LOCAL_MANIFEST_INVALID: "AI_LOCAL_MANIFEST_INVALID";
    readonly AI_LOCAL_ASSET_ALREADY_INSTALLED: "AI_LOCAL_ASSET_ALREADY_INSTALLED";
    readonly AI_LOCAL_MODEL_PROFILE_MISSING: "AI_LOCAL_MODEL_PROFILE_MISSING";
    readonly AI_LOCAL_SPEECH_BUNDLE_DEGRADED: "AI_LOCAL_SPEECH_BUNDLE_DEGRADED";
    readonly AI_LOCAL_SPEECH_CAPABILITY_DOWNLOAD_FAILED: "AI_LOCAL_SPEECH_CAPABILITY_DOWNLOAD_FAILED";
    readonly AI_LOCAL_SPEECH_DOWNLOAD_CONFIRMATION_REQUIRED: "AI_LOCAL_SPEECH_DOWNLOAD_CONFIRMATION_REQUIRED";
    readonly AI_LOCAL_SPEECH_ENV_INIT_FAILED: "AI_LOCAL_SPEECH_ENV_INIT_FAILED";
    readonly AI_LOCAL_SPEECH_HOST_INIT_FAILED: "AI_LOCAL_SPEECH_HOST_INIT_FAILED";
    readonly AI_LOCAL_SPEECH_PREFLIGHT_BLOCKED: "AI_LOCAL_SPEECH_PREFLIGHT_BLOCKED";
    readonly AI_LOCAL_MODEL_UNAVAILABLE: "AI_LOCAL_MODEL_UNAVAILABLE";
    readonly AI_MEDIA_IDEMPOTENCY_CONFLICT: "AI_MEDIA_IDEMPOTENCY_CONFLICT";
    readonly AI_MEDIA_JOB_NOT_CANCELLABLE: "AI_MEDIA_JOB_NOT_CANCELLABLE";
    readonly AI_MEDIA_JOB_NOT_FOUND: "AI_MEDIA_JOB_NOT_FOUND";
    readonly AI_MEDIA_OPTION_UNSUPPORTED: "AI_MEDIA_OPTION_UNSUPPORTED";
    readonly AI_MEDIA_SPEC_INVALID: "AI_MEDIA_SPEC_INVALID";
    readonly AI_MODALITY_NOT_SUPPORTED: "AI_MODALITY_NOT_SUPPORTED";
    readonly AI_MODEL_ID_REQUIRED: "AI_MODEL_ID_REQUIRED";
    readonly AI_MODEL_NOT_FOUND: "AI_MODEL_NOT_FOUND";
    readonly AI_MODEL_NOT_READY: "AI_MODEL_NOT_READY";
    readonly AI_MODEL_PROVIDER_MISMATCH: "AI_MODEL_PROVIDER_MISMATCH";
    readonly AI_MODULE_CONFIG_INVALID: "AI_MODULE_CONFIG_INVALID";
    readonly AI_OUTPUT_INVALID: "AI_OUTPUT_INVALID";
    readonly AI_PROVIDER_AUTH_FAILED: "AI_PROVIDER_AUTH_FAILED";
    readonly AI_PROVIDER_CIRCUIT_OPEN: "AI_PROVIDER_CIRCUIT_OPEN";
    readonly AI_PROVIDER_ENDPOINT_FORBIDDEN: "AI_PROVIDER_ENDPOINT_FORBIDDEN";
    readonly AI_PROVIDER_INTERNAL: "AI_PROVIDER_INTERNAL";
    readonly AI_PROVIDER_RATE_LIMITED: "AI_PROVIDER_RATE_LIMITED";
    readonly AI_PROVIDER_TIMEOUT: "AI_PROVIDER_TIMEOUT";
    readonly AI_PROVIDER_UNAVAILABLE: "AI_PROVIDER_UNAVAILABLE";
    readonly AI_REQUEST_CREDENTIAL_CONFLICT: "AI_REQUEST_CREDENTIAL_CONFLICT";
    readonly AI_REQUEST_CREDENTIAL_INVALID: "AI_REQUEST_CREDENTIAL_INVALID";
    readonly AI_REQUEST_CREDENTIAL_MISSING: "AI_REQUEST_CREDENTIAL_MISSING";
    readonly AI_ROUTE_FALLBACK_DENIED: "AI_ROUTE_FALLBACK_DENIED";
    readonly AI_ROUTE_UNSUPPORTED: "AI_ROUTE_UNSUPPORTED";
    readonly AI_STREAM_BROKEN: "AI_STREAM_BROKEN";
    readonly APP_AUTHORIZATION_DENIED: "APP_AUTHORIZATION_DENIED";
    readonly APP_CONSENT_INVALID: "APP_CONSENT_INVALID";
    readonly APP_CONSENT_MISSING: "APP_CONSENT_MISSING";
    readonly APP_DELEGATION_DEPTH_EXCEEDED: "APP_DELEGATION_DEPTH_EXCEEDED";
    readonly APP_DELEGATION_FORBIDDEN: "APP_DELEGATION_FORBIDDEN";
    readonly APP_GRANT_INVALID: "APP_GRANT_INVALID";
    readonly APP_INSTALL_DESCRIPTOR_NOT_FOUND: "APP_INSTALL_DESCRIPTOR_NOT_FOUND";
    readonly APP_INSTALL_DIGEST_MISMATCH: "APP_INSTALL_DIGEST_MISMATCH";
    readonly APP_INSTALL_DOWNLOAD_FAILED: "APP_INSTALL_DOWNLOAD_FAILED";
    readonly APP_INSTALL_INTERNAL: "APP_INSTALL_INTERNAL";
    readonly APP_INSTALL_MANIFEST_INVALID: "APP_INSTALL_MANIFEST_INVALID";
    readonly APP_INSTALL_STORAGE_VIOLATION: "APP_INSTALL_STORAGE_VIOLATION";
    readonly APP_INSTALL_UNPACK_FAILED: "APP_INSTALL_UNPACK_FAILED";
    readonly APP_LIFECYCLE_JOB_CANCELLED: "APP_LIFECYCLE_JOB_CANCELLED";
    readonly APP_MODE_DOMAIN_FORBIDDEN: "APP_MODE_DOMAIN_FORBIDDEN";
    readonly APP_MODE_MANIFEST_INVALID: "APP_MODE_MANIFEST_INVALID";
    readonly APP_MODE_SCOPE_FORBIDDEN: "APP_MODE_SCOPE_FORBIDDEN";
    readonly APP_MODE_WORLD_RELATION_FORBIDDEN: "APP_MODE_WORLD_RELATION_FORBIDDEN";
    readonly APP_NOT_REGISTERED: "APP_NOT_REGISTERED";
    readonly APP_REPAIR_ACTION_INVALID: "APP_REPAIR_ACTION_INVALID";
    readonly APP_REPAIR_NO_RECOVERABLE_JOB: "APP_REPAIR_NO_RECOVERABLE_JOB";
    readonly APP_REPAIR_NOT_REPAIRABLE: "APP_REPAIR_NOT_REPAIRABLE";
    readonly APP_RESOURCE_OUT_OF_SCOPE: "APP_RESOURCE_OUT_OF_SCOPE";
    readonly APP_RESOURCE_SELECTOR_INVALID: "APP_RESOURCE_SELECTOR_INVALID";
    readonly APP_SCOPE_CATALOG_UNPUBLISHED: "APP_SCOPE_CATALOG_UNPUBLISHED";
    readonly APP_SCOPE_CONFLICT: "APP_SCOPE_CONFLICT";
    readonly APP_SCOPE_FORBIDDEN: "APP_SCOPE_FORBIDDEN";
    readonly APP_SCOPE_MANIFEST_INVALID: "APP_SCOPE_MANIFEST_INVALID";
    readonly APP_SCOPE_NAMESPACE_FORBIDDEN: "APP_SCOPE_NAMESPACE_FORBIDDEN";
    readonly APP_SCOPE_REVOKED: "APP_SCOPE_REVOKED";
    readonly APP_UPDATE_CONFIRMATION_REQUIRED: "APP_UPDATE_CONFIRMATION_REQUIRED";
    readonly APP_UPDATE_NOT_AVAILABLE: "APP_UPDATE_NOT_AVAILABLE";
    readonly APP_UPDATE_NOT_INSTALLED: "APP_UPDATE_NOT_INSTALLED";
    readonly APP_UPDATE_SWAP_FAILED: "APP_UPDATE_SWAP_FAILED";
    readonly AUTH_CONTEXT_MISSING: "AUTH_CONTEXT_MISSING";
    readonly APP_TOKEN_EXPIRED: "APP_TOKEN_EXPIRED";
    readonly APP_TOKEN_REVOKED: "APP_TOKEN_REVOKED";
    readonly BUILD_REGISTRATION_FAILED: "BUILD_REGISTRATION_FAILED";
    readonly CAPABILITY_CATALOG_MISMATCH: "CAPABILITY_CATALOG_MISMATCH";
    readonly CODEGEN_BUNDLE_TOO_LARGE: "CODEGEN_BUNDLE_TOO_LARGE";
    readonly CODEGEN_CAPABILITY_DENIED: "CODEGEN_CAPABILITY_DENIED";
    readonly CODEGEN_CAPABILITY_UNKNOWN: "CODEGEN_CAPABILITY_UNKNOWN";
    readonly CODEGEN_MOD_ID_REQUIRED: "CODEGEN_MOD_ID_REQUIRED";
    readonly CODEGEN_MOD_ID_PREFIX_INVALID: "CODEGEN_MOD_ID_PREFIX_INVALID";
    readonly CODEGEN_PATTERN_EVAL_FORBIDDEN: "CODEGEN_PATTERN_EVAL_FORBIDDEN";
    readonly CODEGEN_PATTERN_FETCH_FORBIDDEN: "CODEGEN_PATTERN_FETCH_FORBIDDEN";
    readonly CODEGEN_PATTERN_HOST_IMPORT_FORBIDDEN: "CODEGEN_PATTERN_HOST_IMPORT_FORBIDDEN";
    readonly CODEGEN_PATTERN_IMPORTSCRIPTS_FORBIDDEN: "CODEGEN_PATTERN_IMPORTSCRIPTS_FORBIDDEN";
    readonly CODEGEN_PATTERN_LOCALSTORAGE_FORBIDDEN: "CODEGEN_PATTERN_LOCALSTORAGE_FORBIDDEN";
    readonly CODEGEN_PATTERN_NEW_FUNCTION_FORBIDDEN: "CODEGEN_PATTERN_NEW_FUNCTION_FORBIDDEN";
    readonly CODEGEN_PATTERN_PROCESS_ENV_FORBIDDEN: "CODEGEN_PATTERN_PROCESS_ENV_FORBIDDEN";
    readonly CODEGEN_PATTERN_REQUIRE_FORBIDDEN: "CODEGEN_PATTERN_REQUIRE_FORBIDDEN";
    readonly CODEGEN_PATTERN_WEBSOCKET_FORBIDDEN: "CODEGEN_PATTERN_WEBSOCKET_FORBIDDEN";
    readonly CODEGEN_PATTERN_XMLHTTPREQUEST_FORBIDDEN: "CODEGEN_PATTERN_XMLHTTPREQUEST_FORBIDDEN";
    readonly CODEGEN_T1_CONSENT_REQUIRED: "CODEGEN_T1_CONSENT_REQUIRED";
    readonly COMPAT_NO_MIN_VERSION: "COMPAT_NO_MIN_VERSION";
    readonly COMPAT_OK: "COMPAT_OK";
    readonly CONFIG_APPLIED: "CONFIG_APPLIED";
    readonly CONFIG_INVALID: "CONFIG_INVALID";
    readonly CONFIG_RESTART_REQUIRED: "CONFIG_RESTART_REQUIRED";
    readonly COMPAT_RUNTIME_TOO_NEW: "COMPAT_RUNTIME_TOO_NEW";
    readonly COMPAT_RUNTIME_TOO_OLD: "COMPAT_RUNTIME_TOO_OLD";
    readonly DISCOVERY_ALLOWED: "DISCOVERY_ALLOWED";
    readonly DISCOVERY_MODE_UNKNOWN: "DISCOVERY_MODE_UNKNOWN";
    readonly DISCOVERY_SOURCE_BLOCKED: "DISCOVERY_SOURCE_BLOCKED";
    readonly DISCOVERY_SOURCE_UNTRUSTED: "DISCOVERY_SOURCE_UNTRUSTED";
    readonly ENTRY_NOT_FOUND: "ENTRY_NOT_FOUND";
    readonly ENTRY_READ_FAILED: "ENTRY_READ_FAILED";
    readonly EXTERNAL_PRINCIPAL_NOT_REGISTERED: "EXTERNAL_PRINCIPAL_NOT_REGISTERED";
    readonly EXTERNAL_PRINCIPAL_PROOF_INVALID: "EXTERNAL_PRINCIPAL_PROOF_INVALID";
    readonly EXTERNAL_PRINCIPAL_PROOF_MISSING: "EXTERNAL_PRINCIPAL_PROOF_MISSING";
    readonly FACTORY_MISSING: "FACTORY_MISSING";
    readonly GRANT_TOKEN_CHAIN_ROOT_NOT_FOUND: "GRANT_TOKEN_CHAIN_ROOT_NOT_FOUND";
    readonly GRANT_TOKEN_CHAIN_ROOT_REQUIRED: "GRANT_TOKEN_CHAIN_ROOT_REQUIRED";
    readonly GO_RUNTIME_SYNC_FAILED: "GO_RUNTIME_SYNC_FAILED";
    readonly KISMET_ROUTE_UNAVAILABLE: "KISMET_ROUTE_UNAVAILABLE";
    readonly LIFECYCLE_NOT_FOUND: "LIFECYCLE_NOT_FOUND";
    readonly LOAD_FACTORY_FAILED: "LOAD_FACTORY_FAILED";
    readonly LOCAL_AI_AUDIT_WRITE_FAILED: "LOCAL_AI_AUDIT_WRITE_FAILED";
    readonly LOCAL_AI_CAPABILITY_MISSING: "LOCAL_AI_CAPABILITY_MISSING";
    readonly LOCAL_AI_DEPENDENCIES_DECLARATION_MISSING: "LOCAL_AI_DEPENDENCIES_DECLARATION_MISSING";
    readonly LOCAL_AI_PROFILES_DECLARATION_MISSING: "LOCAL_AI_PROFILES_DECLARATION_MISSING";
    readonly LOCAL_AI_DEPENDENCY_SNAPSHOT_FAILED: "LOCAL_AI_DEPENDENCY_SNAPSHOT_FAILED";
    readonly LOCAL_AI_PROFILE_SNAPSHOT_RESOLVER_MISSING: "LOCAL_AI_PROFILE_SNAPSHOT_RESOLVER_MISSING";
    readonly LOCAL_AI_HF_DOWNLOAD_PAUSED: "LOCAL_AI_HF_DOWNLOAD_PAUSED";
    readonly LOCAL_AI_MOD_ID_REQUIRED: "LOCAL_AI_MOD_ID_REQUIRED";
    readonly LOCAL_AI_PROFILE_ID_REQUIRED: "LOCAL_AI_PROFILE_ID_REQUIRED";
    readonly LOCAL_AI_PROFILE_INSTALL_DECLINED: "LOCAL_AI_PROFILE_INSTALL_DECLINED";
    readonly LOCAL_AI_PROFILE_NOT_FOUND: "LOCAL_AI_PROFILE_NOT_FOUND";
    readonly LOCAL_AI_PROVIDER_TIMEOUT: "LOCAL_AI_PROVIDER_TIMEOUT";
    readonly LOCAL_CHAT_PROACTIVE_ALLOWED: "LOCAL_CHAT_PROACTIVE_ALLOWED";
    readonly LOCAL_CHAT_PROACTIVE_POLICY_UNAVAILABLE: "LOCAL_CHAT_PROACTIVE_POLICY_UNAVAILABLE";
    readonly LOCAL_ONLY_NOT_SYNCED: "LOCAL_ONLY_NOT_SYNCED";
    readonly LOCAL_LIFECYCLE_WRITE_DENIED: "LOCAL_LIFECYCLE_WRITE_DENIED";
    readonly MOD_STATE_INVALID_KEY: "MOD_STATE_INVALID_KEY";
    readonly MOD_STATE_INVALID_OP: "MOD_STATE_INVALID_OP";
    readonly MOD_STATE_STORAGE_ERROR: "MOD_STATE_STORAGE_ERROR";
    readonly MOD_STATE_UNAVAILABLE: "MOD_STATE_UNAVAILABLE";
    readonly MOD_STATE_VALUE_TOO_LARGE: "MOD_STATE_VALUE_TOO_LARGE";
    readonly MOD_NOT_INSTALLED: "MOD_NOT_INSTALLED";
    readonly PLAY_PROVIDER_UNAVAILABLE: "PLAY_PROVIDER_UNAVAILABLE";
    readonly OPERATION_ABORTED: "OPERATION_ABORTED";
    readonly PAGE_TOKEN_INVALID: "PAGE_TOKEN_INVALID";
    readonly PRINCIPAL_UNAUTHORIZED: "PRINCIPAL_UNAUTHORIZED";
    readonly PROTOCOL_DOMAIN_FIELD_CONFLICT: "PROTOCOL_DOMAIN_FIELD_CONFLICT";
    readonly PROTOCOL_ENVELOPE_INVALID: "PROTOCOL_ENVELOPE_INVALID";
    readonly PROTOCOL_VERSION_MISMATCH: "PROTOCOL_VERSION_MISMATCH";
    readonly RESOURCE_EXHAUSTED: "RESOURCE_EXHAUSTED";
    readonly RUNTIME_BRIDGE_DAEMON_UNAVAILABLE: "RUNTIME_BRIDGE_DAEMON_UNAVAILABLE";
    readonly RUNTIME_CALL_FAILED: "RUNTIME_CALL_FAILED";
    readonly RUNTIME_EXCEPTION: "RUNTIME_EXCEPTION";
    readonly RUNTIME_GRPC_CANCELLED: "RUNTIME_GRPC_CANCELLED";
    readonly RUNTIME_GRPC_PERMISSION_DENIED: "RUNTIME_GRPC_PERMISSION_DENIED";
    readonly RUNTIME_MOD_REGISTER_FAILED: "RUNTIME_MOD_REGISTER_FAILED";
    readonly RUNTIME_ROUTE_CAPABILITY_MISSING: "RUNTIME_ROUTE_CAPABILITY_MISSING";
    readonly RUNTIME_ROUTE_DEGRADED: "RUNTIME_ROUTE_DEGRADED";
    readonly RUNTIME_ROUTE_HEALTHY: "RUNTIME_ROUTE_HEALTHY";
    readonly RUNTIME_ROUTE_MODEL_MISSING: "RUNTIME_ROUTE_MODEL_MISSING";
    readonly RUNTIME_ROUTE_UNAVAILABLE: "RUNTIME_ROUTE_UNAVAILABLE";
    readonly AUTH_DENIED: "AUTH_DENIED";
    readonly AUTH_REVOCATION_UNAVAILABLE: "AUTH_REVOCATION_UNAVAILABLE";
    readonly AUTH_TOKEN_EXPIRED: "AUTH_TOKEN_EXPIRED";
    readonly AUTH_TOKEN_INVALID: "AUTH_TOKEN_INVALID";
    readonly AUTH_UNSUPPORTED_PROOF_TYPE: "AUTH_UNSUPPORTED_PROOF_TYPE";
    readonly REALM_CONFLICT: "REALM_CONFLICT";
    readonly REALM_NOT_FOUND: "REALM_NOT_FOUND";
    readonly REALM_RATE_LIMITED: "REALM_RATE_LIMITED";
    readonly REALM_UNAVAILABLE: "REALM_UNAVAILABLE";
    readonly RUNTIME_UNAVAILABLE: "RUNTIME_UNAVAILABLE";
    readonly RUNTIME_UNSPECIFIED_ERROR: "RUNTIME_UNSPECIFIED_ERROR";
    readonly SANDBOX_CAPABILITY_DENIED: "SANDBOX_CAPABILITY_DENIED";
    readonly SANDBOX_CAPABILITY_GRANTED: "SANDBOX_CAPABILITY_GRANTED";
    readonly SANDBOX_CAPABILITY_PATTERN_MATCH: "SANDBOX_CAPABILITY_PATTERN_MATCH";
    readonly SANDBOX_PROFILE_INACTIVE: "SANDBOX_PROFILE_INACTIVE";
    readonly SANDBOX_PROFILE_NOT_FOUND: "SANDBOX_PROFILE_NOT_FOUND";
    readonly SANDBOX_WILDCARD_GRANT: "SANDBOX_WILDCARD_GRANT";
    readonly SDK_AI_PROVIDER_BASE64_UNAVAILABLE: "SDK_AI_PROVIDER_BASE64_UNAVAILABLE";
    readonly SDK_AI_PROVIDER_CONFIG_INVALID: "SDK_AI_PROVIDER_CONFIG_INVALID";
    readonly SDK_AI_PROVIDER_RUNTIME_REQUIRED: "SDK_AI_PROVIDER_RUNTIME_REQUIRED";
    readonly SDK_AI_PROVIDER_SUBJECT_USER_ID_REQUIRED: "SDK_AI_PROVIDER_SUBJECT_USER_ID_REQUIRED";
    readonly SDK_APP_ID_REQUIRED: "SDK_APP_ID_REQUIRED";
    readonly SDK_AUTH_MODE_INVALID: "SDK_AUTH_MODE_INVALID";
    readonly SDK_MOD_HOST_MISSING: "SDK_MOD_HOST_MISSING";
    readonly SDK_PLATFORM_CLIENT_NOT_READY: "SDK_PLATFORM_CLIENT_NOT_READY";
    readonly SDK_REALM_CONFIG_INVALID: "SDK_REALM_CONFIG_INVALID";
    readonly SDK_REALM_ENDPOINT_REQUIRED: "SDK_REALM_ENDPOINT_REQUIRED";
    readonly SDK_REALM_TOKEN_REQUIRED: "SDK_REALM_TOKEN_REQUIRED";
    readonly SDK_RUNTIME_AI_CREDENTIAL_MISSING: "SDK_RUNTIME_AI_CREDENTIAL_MISSING";
    readonly SDK_RUNTIME_AI_CREDENTIAL_SCOPE_FORBIDDEN: "SDK_RUNTIME_AI_CREDENTIAL_SCOPE_FORBIDDEN";
    readonly SDK_RUNTIME_AI_CREDENTIAL_SOURCE_INVALID: "SDK_RUNTIME_AI_CREDENTIAL_SOURCE_INVALID";
    readonly SDK_RUNTIME_AI_ROUTE_POLICY_REQUIRED: "SDK_RUNTIME_AI_ROUTE_POLICY_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_APP_ID_REQUIRED: "SDK_RUNTIME_APP_AUTH_APP_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_CONSENT_ID_REQUIRED: "SDK_RUNTIME_APP_AUTH_CONSENT_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_CONSENT_VERSION_REQUIRED: "SDK_RUNTIME_APP_AUTH_CONSENT_VERSION_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_CUSTOM_DELEGATE_REQUIRED: "SDK_RUNTIME_APP_AUTH_CUSTOM_DELEGATE_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_CUSTOM_SCOPES_REQUIRED: "SDK_RUNTIME_APP_AUTH_CUSTOM_SCOPES_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_CUSTOM_TTL_REQUIRED: "SDK_RUNTIME_APP_AUTH_CUSTOM_TTL_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_DECISION_AT_REQUIRED: "SDK_RUNTIME_APP_AUTH_DECISION_AT_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_DOMAIN_REQUIRED: "SDK_RUNTIME_APP_AUTH_DOMAIN_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_EXTERNAL_PRINCIPAL_ID_REQUIRED: "SDK_RUNTIME_APP_AUTH_EXTERNAL_PRINCIPAL_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_EXTERNAL_PRINCIPAL_TYPE_REQUIRED: "SDK_RUNTIME_APP_AUTH_EXTERNAL_PRINCIPAL_TYPE_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_POLICY_MODE_REQUIRED: "SDK_RUNTIME_APP_AUTH_POLICY_MODE_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_POLICY_VERSION_REQUIRED: "SDK_RUNTIME_APP_AUTH_POLICY_VERSION_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_PRESET_REQUIRED: "SDK_RUNTIME_APP_AUTH_PRESET_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_SCOPE_CATALOG_VERSION_REQUIRED: "SDK_RUNTIME_APP_AUTH_SCOPE_CATALOG_VERSION_REQUIRED";
    readonly SDK_RUNTIME_APP_AUTH_SUBJECT_USER_ID_REQUIRED: "SDK_RUNTIME_APP_AUTH_SUBJECT_USER_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_LIFECYCLE_APP_ID_REQUIRED: "SDK_RUNTIME_APP_LIFECYCLE_APP_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_LIFECYCLE_JOB_ID_REQUIRED: "SDK_RUNTIME_APP_LIFECYCLE_JOB_ID_REQUIRED";
    readonly SDK_RUNTIME_APP_LIFECYCLE_REPAIR_ACTION_INVALID: "SDK_RUNTIME_APP_LIFECYCLE_REPAIR_ACTION_INVALID";
    readonly SDK_RUNTIME_APP_LIFECYCLE_SCOPE_REF_REQUIRED: "SDK_RUNTIME_APP_LIFECYCLE_SCOPE_REF_REQUIRED";
    readonly SDK_APP_AI_CONFIG_SCOPE_INVALID: "SDK_APP_AI_CONFIG_SCOPE_INVALID";
    readonly SDK_APP_AI_CONFIG_INIT_PROFILE_UNRESOLVED: "SDK_APP_AI_CONFIG_INIT_PROFILE_UNRESOLVED";
    readonly SDK_APP_AI_CONFIG_INIT_APPLY_FAILED: "SDK_APP_AI_CONFIG_INIT_APPLY_FAILED";
    readonly SDK_RUNTIME_CONNECTOR_API_KEY_REQUIRED: "SDK_RUNTIME_CONNECTOR_API_KEY_REQUIRED";
    readonly SDK_RUNTIME_CONNECTOR_UPDATE_EMPTY: "SDK_RUNTIME_CONNECTOR_UPDATE_EMPTY";
    readonly SDK_RUNTIME_METHOD_UNAVAILABLE: "SDK_RUNTIME_METHOD_UNAVAILABLE";
    readonly SDK_RUNTIME_VERSION_INCOMPATIBLE: "SDK_RUNTIME_VERSION_INCOMPATIBLE";
    readonly SDK_SCOPE_CATALOG_INVALID: "SDK_SCOPE_CATALOG_INVALID";
    readonly SDK_SCOPE_CATALOG_VERSION_CONFLICT: "SDK_SCOPE_CATALOG_VERSION_CONFLICT";
    readonly SDK_TRANSPORT_INVALID: "SDK_TRANSPORT_INVALID";
    readonly SDK_RUNTIME_BASE64_DECODER_UNAVAILABLE: "SDK_RUNTIME_BASE64_DECODER_UNAVAILABLE";
    readonly SDK_RUNTIME_BASE64_ENCODER_UNAVAILABLE: "SDK_RUNTIME_BASE64_ENCODER_UNAVAILABLE";
    readonly SDK_RUNTIME_CODEC_MISSING: "SDK_RUNTIME_CODEC_MISSING";
    readonly SDK_RUNTIME_NODE_GRPC_EMPTY_RESPONSE: "SDK_RUNTIME_NODE_GRPC_EMPTY_RESPONSE";
    readonly SDK_RUNTIME_NODE_GRPC_ENDPOINT_REQUIRED: "SDK_RUNTIME_NODE_GRPC_ENDPOINT_REQUIRED";
    readonly SDK_RUNTIME_NODE_GRPC_STREAM_CLOSE_FAILED: "SDK_RUNTIME_NODE_GRPC_STREAM_CLOSE_FAILED";
    readonly SDK_RUNTIME_NODE_GRPC_STREAM_OPEN_FAILED: "SDK_RUNTIME_NODE_GRPC_STREAM_OPEN_FAILED";
    readonly SDK_RUNTIME_NODE_GRPC_UNARY_FAILED: "SDK_RUNTIME_NODE_GRPC_UNARY_FAILED";
    readonly SDK_RUNTIME_REQUEST_BYTES_REQUIRED: "SDK_RUNTIME_REQUEST_BYTES_REQUIRED";
    readonly SDK_RUNTIME_REQUEST_ENCODE_FAILED: "SDK_RUNTIME_REQUEST_ENCODE_FAILED";
    readonly SDK_RUNTIME_RESPONSE_DECODE_FAILED: "SDK_RUNTIME_RESPONSE_DECODE_FAILED";
    readonly SDK_RUNTIME_STREAM_DECODE_FAILED: "SDK_RUNTIME_STREAM_DECODE_FAILED";
    readonly SDK_RUNTIME_TAURI_INVOKE_MISSING: "SDK_RUNTIME_TAURI_INVOKE_MISSING";
    readonly SDK_RUNTIME_TAURI_LISTEN_MISSING: "SDK_RUNTIME_TAURI_LISTEN_MISSING";
    readonly SDK_RUNTIME_TAURI_STREAM_CLOSE_FAILED: "SDK_RUNTIME_TAURI_STREAM_CLOSE_FAILED";
    readonly SDK_RUNTIME_TAURI_STREAM_FAILED: "SDK_RUNTIME_TAURI_STREAM_FAILED";
    readonly SDK_RUNTIME_TAURI_STREAM_ID_MISSING: "SDK_RUNTIME_TAURI_STREAM_ID_MISSING";
    readonly SDK_RUNTIME_TAURI_STREAM_OPEN_FAILED: "SDK_RUNTIME_TAURI_STREAM_OPEN_FAILED";
    readonly SDK_RUNTIME_TAURI_STREAM_REMOTE_ERROR: "SDK_RUNTIME_TAURI_STREAM_REMOTE_ERROR";
    readonly SDK_RUNTIME_TAURI_UNARY_BYTES_MISSING: "SDK_RUNTIME_TAURI_UNARY_BYTES_MISSING";
    readonly SDK_RUNTIME_TAURI_UNARY_FAILED: "SDK_RUNTIME_TAURI_UNARY_FAILED";
    readonly SDK_TARGET_REQUIRED: "SDK_TARGET_REQUIRED";
    readonly SESSION_EXPIRED: "SESSION_EXPIRED";
    readonly SOCIAL_PRECONDITION_FAILED: "SOCIAL_PRECONDITION_FAILED";
    readonly SOURCE_DEFAULTED: "SOURCE_DEFAULTED";
    readonly STATE_DISABLED: "STATE_DISABLED";
    readonly STATE_ENABLED: "STATE_ENABLED";
    readonly STATE_UNINSTALLED: "STATE_UNINSTALLED";
    readonly SUBJECT_ACCOUNT_MISMATCH: "SUBJECT_ACCOUNT_MISMATCH";
    readonly TRANSITION_INITIAL: "TRANSITION_INITIAL";
    readonly TRANSITION_VALID: "TRANSITION_VALID";
    readonly WF_DAG_INVALID: "WF_DAG_INVALID";
    readonly WF_NODE_CONFIG_MISMATCH: "WF_NODE_CONFIG_MISMATCH";
    readonly WF_TASK_NOT_FOUND: "WF_TASK_NOT_FOUND";
    readonly WF_TIMEOUT: "WF_TIMEOUT";
    readonly WORLD_STUDIO_CONNECTOR_MISSING: "WORLD_STUDIO_CONNECTOR_MISSING";
    readonly WORLD_STUDIO_EMBEDDING_BUILDING: "WORLD_STUDIO_EMBEDDING_BUILDING";
    readonly WORLD_STUDIO_EMBEDDING_BUILD_FAILED: "WORLD_STUDIO_EMBEDDING_BUILD_FAILED";
    readonly WORLD_STUDIO_EMBEDDING_NOT_BUILT: "WORLD_STUDIO_EMBEDDING_NOT_BUILT";
    readonly WORLD_STUDIO_EMBEDDING_NOT_REQUIRED: "WORLD_STUDIO_EMBEDDING_NOT_REQUIRED";
    readonly WORLD_STUDIO_EMBEDDING_READY: "WORLD_STUDIO_EMBEDDING_READY";
    readonly WORLD_STUDIO_EMBEDDING_ROUTE_UNREADY: "WORLD_STUDIO_EMBEDDING_ROUTE_UNREADY";
    readonly WORLD_STUDIO_LOCAL_MODEL_MISSING: "WORLD_STUDIO_LOCAL_MODEL_MISSING";
    readonly WORLD_STUDIO_LOCAL_MODEL_UNAVAILABLE: "WORLD_STUDIO_LOCAL_MODEL_UNAVAILABLE";
    readonly WORLD_STUDIO_LOCAL_MODEL_UNHEALTHY: "WORLD_STUDIO_LOCAL_MODEL_UNHEALTHY";
    readonly WORLD_STUDIO_ROUTE_BINDING_MISSING: "WORLD_STUDIO_ROUTE_BINDING_MISSING";
    readonly WORLD_STUDIO_ROUTE_READY: "WORLD_STUDIO_ROUTE_READY";
    readonly WORLD_STUDIO_TOKEN_MODEL_UNAVAILABLE: "WORLD_STUDIO_TOKEN_MODEL_UNAVAILABLE";
    readonly WORLD_STUDIO_TOKEN_ROUTE_INCOMPLETE: "WORLD_STUDIO_TOKEN_ROUTE_INCOMPLETE";
};
export type NimiErrorCode = keyof typeof ReasonCode;
export type ReasonCodeValue = typeof ReasonCode[keyof typeof ReasonCode];
export declare function isRetryableReasonCode(code: string): boolean;
export {};
//# sourceMappingURL=index.d.ts.map