/** * @generated by core:generate:registry-client (openapigen) * Source: packages/core/specs/registry-openapi.json * Regenerate: pnpm exec nx run core:generate:registry-client * DO NOT EDIT - changes are overwritten on regeneration. */ import * as Effect from "effect/Effect"; import type { SchemaError } from "effect/Schema"; import * as Schema from "effect/Schema"; import * as Stream from "effect/Stream"; import { DateTimeUtcSchema } from "../../date-time.js"; import * as Sse from "effect/unstable/encoding/Sse"; import * as HttpClient from "effect/unstable/http/HttpClient"; import * as HttpClientError from "effect/unstable/http/HttpClientError"; import * as HttpClientRequest from "effect/unstable/http/HttpClientRequest"; import * as HttpClientResponse from "effect/unstable/http/HttpClientResponse"; export type MetaResponse = { readonly ok: true; readonly service: "registry"; readonly message: string; readonly docs: string | null; readonly openapi: string | null; }; export declare const MetaResponse: Schema.Struct<{ readonly ok: Schema.Literal; readonly service: Schema.Literal<"registry">; readonly message: Schema.String; readonly docs: Schema.Union; readonly openapi: Schema.Union; }>; export type DecodeErrorResponseEncoded = { readonly kind: "DecodeErrorResponse"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: string; }; export declare const DecodeErrorResponseEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type DeviceCodeResponse = { readonly device_code: string; readonly user_code: string; readonly verification_uri: string; readonly verification_uri_complete: string; readonly expires_in: number; readonly interval: number; }; export declare const DeviceCodeResponse: Schema.Struct<{ readonly device_code: Schema.String; readonly user_code: Schema.String; readonly verification_uri: Schema.String; readonly verification_uri_complete: Schema.String; readonly expires_in: Schema.Number; readonly interval: Schema.Number; }>; export type DeviceCodeOAuthError = { readonly error: "invalid_client" | "invalid_scope"; }; export declare const DeviceCodeOAuthError: Schema.Struct<{ readonly error: Schema.Literals; }>; export type PublishDetails = { readonly retryable: boolean; readonly retryAfterSeconds?: number; readonly requiredScope?: string; readonly tokenScopes?: ReadonlyArray; readonly requiredRole?: string | null; }; export declare const PublishDetails: Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>; export type IsoDateTimeString = typeof DateTimeUtcSchema.Type; export declare const IsoDateTimeString: Schema.decodeTo; export type ExtensionVisibility = "public" | "private"; export declare const ExtensionVisibility: Schema.Literals; export type Union_ = string | null; export declare const Union_: Schema.Union; export type Sha256Hex = string; export declare const Sha256Hex: Schema.String; export type Handle = string; export declare const Handle: Schema.String; export type ExtensionType = "skill" | "mcp-server" | "subagent" | "rule" | "hook" | "knowledge" | "pack"; export declare const ExtensionType: Schema.Literals; export type ExtensionName = string; export declare const ExtensionName: Schema.String; export type Version = string; export declare const Version: Schema.String; export type ExtensionFqn = string; export declare const ExtensionFqn: Schema.String; export type VisibilityFingerprint = string; export declare const VisibilityFingerprint: Schema.String; export type VisibilityRevision = string; export declare const VisibilityRevision: Schema.String; export type VisibilityComparison = "not-established" | "unconfigured" | "match" | "drift"; export declare const VisibilityComparison: Schema.Literals; export type VisibilityFindingCode = "visibility/intent-conflict" | "visibility/drift" | "visibility/unavailable" | "visibility/intent-required" | "visibility/not-established" | "visibility/stale-source" | "visibility/stale-revision" | "visibility/confirmation-required" | "visibility/authorization-denied" | "visibility/impersonation-denied" | "visibility/verification-required" | "visibility/verification-expired" | "visibility/verification-cancelled" | "visibility/verification-replayed" | "visibility/pack-blocked"; export declare const VisibilityFindingCode: Schema.Literals; export type VersionRange = string; export declare const VersionRange: Schema.String; export type DeprecationMessage = string; export declare const DeprecationMessage: Schema.String; export type TokenOAuthErrorEncoded = { readonly kind: "TokenOAuthError"; readonly error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope" | "authorization_pending" | "slow_down" | "expired_token" | "access_denied"; readonly error_description: string; }; export declare const TokenOAuthErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"TokenOAuthError">; readonly error: Schema.Literals; readonly error_description: Schema.String; }>; export type AuthWhoamiResponse = { readonly handle: string; }; export declare const AuthWhoamiResponse: Schema.Struct<{ readonly handle: Schema.String; }>; export type UserId = string; export declare const UserId: Schema.String; export type ResourceRestrictions = { readonly extensions: ReadonlyArray | null; }; export declare const ResourceRestrictions: Schema.Struct<{ readonly extensions: Schema.Union, Schema.Null]>; }>; export type PublishAuthorizationRequestId = string; export declare const PublishAuthorizationRequestId: Schema.String; export type TokenId = string; export declare const TokenId: Schema.String; export type ScopeCheckDetails = { readonly requiredScope?: string; readonly grantedScopes: ReadonlyArray; }; export declare const ScopeCheckDetails: Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>; export type AuthorizationDenyDetails = { readonly requiredScope?: string; readonly tokenScopes: ReadonlyArray; readonly requiredRole?: string; }; export declare const AuthorizationDenyDetails: Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>; export type StepUpRequestId = string; export declare const StepUpRequestId: Schema.String; export type CreateTokenPermissionsRequest = { readonly owners?: ReadonlyArray | null; readonly extensions?: ReadonlyArray | null; readonly permission?: "read" | "publish" | "admin" | null; readonly org_permission?: "read" | "write" | "admin" | null; readonly cidr?: ReadonlyArray | null; readonly bypass_mfa?: boolean | null; }; export declare const CreateTokenPermissionsRequest: Schema.Struct<{ readonly owners: Schema.optionalKey, Schema.Null]>>; readonly extensions: Schema.optionalKey, Schema.Null]>>; readonly permission: Schema.optionalKey, Schema.Null]>>; readonly org_permission: Schema.optionalKey, Schema.Null]>>; readonly cidr: Schema.optionalKey, Schema.Null]>>; readonly bypass_mfa: Schema.optionalKey>; }>; export type IsoDateTimeString_1 = string; export declare const IsoDateTimeString_1: Schema.String; export type OwnerResponse = { readonly displayName: string; }; export declare const OwnerResponse: Schema.Struct<{ readonly displayName: Schema.String; }>; export type Repository = { readonly url: string; readonly type?: string | null; readonly directory?: string | null; }; export declare const Repository: Schema.Struct<{ readonly url: Schema.String; readonly type: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>; export type LicenseExpression = string; export declare const LicenseExpression: Schema.String; export type Author = { readonly name?: string | null; readonly email?: string | null; readonly url?: string | null; }; export declare const Author: Schema.Struct<{ readonly name: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>; export type Union_5 = "Infinity" | "-Infinity" | "NaN"; export declare const Union_5: Schema.Literals; export type Bugs = { readonly url?: string | null; readonly email?: string | null; }; export declare const Bugs: Schema.Struct<{ readonly url: Schema.optionalKey>; readonly email: Schema.optionalKey>; }>; export type PackageIdentityPurl = string; export declare const PackageIdentityPurl: Schema.String; export type DeleteExtensionBody = { readonly confirmation: string; }; export declare const DeleteExtensionBody: Schema.Struct<{ readonly confirmation: Schema.String; }>; export type ExtensionDeletionOperationId = string; export declare const ExtensionDeletionOperationId: Schema.String; export type Visibility = "public" | "private"; export declare const Visibility: Schema.Literals; export type Union_7 = "error" | "warning" | "info"; export declare const Union_7: Schema.Literals; export type ExtensionLinks = { readonly html: string; }; export declare const ExtensionLinks: Schema.Struct<{ readonly html: Schema.String; }>; export type PublishIdentityMismatchEntry = { readonly field: "owner" | "type" | "name" | "version"; readonly urlPath: string | null; readonly content: string | null; }; export declare const PublishIdentityMismatchEntry: Schema.Struct<{ readonly field: Schema.Literals; readonly urlPath: Schema.Union; readonly content: Schema.Union; }>; export type DeprecationRevision = string; export declare const DeprecationRevision: Schema.String; export type YankVersionBody = { readonly category?: "broken" | "security" | "accidental" | "other" | null; readonly notice?: string | null; }; export declare const YankVersionBody: Schema.Struct<{ readonly category: Schema.optionalKey, Schema.Null]>>; readonly notice: Schema.optionalKey>; }>; export type YankAvailableVersionsBody = { readonly selection: "all-available"; readonly category?: "broken" | "security" | "accidental" | "other" | null; readonly notice?: string | null; }; export declare const YankAvailableVersionsBody: Schema.Struct<{ readonly selection: Schema.Literal<"all-available">; readonly category: Schema.optionalKey, Schema.Null]>>; readonly notice: Schema.optionalKey>; }>; export type PublishPreviewBatchTooLargeHttpErrorEncoded = { readonly kind: "PublishPreviewBatchTooLargeHttpError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "publish/preflight-batch-too-large"; readonly max_items: 100; }; export declare const PublishPreviewBatchTooLargeHttpErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"PublishPreviewBatchTooLargeHttpError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"publish/preflight-batch-too-large">; readonly max_items: Schema.Literal<100>; }>; export type LibraryVisibility = "public" | "private"; export declare const LibraryVisibility: Schema.Literals; export type LibraryId = string; export declare const LibraryId: Schema.String; export type LibraryName = string; export declare const LibraryName: Schema.String; export type LibraryMemberId = string; export declare const LibraryMemberId: Schema.String; export type DebugStreamEventEncoded = string; export declare const DebugStreamEventEncoded: Schema.String; export type ProblemDetails = { readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: string; readonly details?: PublishDetails; }; export declare const ProblemDetails: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type PreconditionFailedErrorEncoded = { readonly kind: "PreconditionFailedError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "publish/precondition-changed" | "visibility/stale-revision" | "deprecation/stale-revision"; readonly details?: PublishDetails; }; export declare const PreconditionFailedErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"PreconditionFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type StepUpRequestStatusResponse = { readonly status: "pending" | "verified" | "consumed" | "cancelled" | "expired"; readonly expires_at: IsoDateTimeString; }; export declare const StepUpRequestStatusResponse: Schema.Struct<{ readonly status: Schema.Literals; readonly expires_at: Schema.decodeTo; }>; export type PublishVisibility = { readonly value: ExtensionVisibility; readonly disposition: "establish"; readonly source: "manifest" | "workspace" | "explicit" | "account" | "platform"; } | { readonly value: ExtensionVisibility; readonly disposition: "preserve"; readonly source: "existing"; }; export declare const PublishVisibility: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>; export type SuggestedAction = { readonly description: string; readonly cmd?: Union_; readonly url?: Union_; }; export declare const SuggestedAction: Schema.Struct<{ readonly description: Schema.String; readonly cmd: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>; export type SuggestedAction_1 = { readonly description: string; readonly cmd?: Union_; readonly url?: Union_; }; export declare const SuggestedAction_1: Schema.Struct<{ readonly description: Schema.String; readonly cmd: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>; export type PublicationTarget = { readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly version: Version; }; export declare const PublicationTarget: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; export type PublishIdentity = { readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly version: Version; }; export declare const PublishIdentity: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; export type DeprecationReplacement = { readonly status: "available"; readonly fqn: ExtensionFqn; } | { readonly status: "unavailable"; readonly fqn?: ExtensionFqn | null; }; export declare const DeprecationReplacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; export type DeprecationReplacementIntent = { readonly kind: "clear"; } | { readonly kind: "set"; readonly fqn: ExtensionFqn; } | { readonly kind: "preserve"; }; export declare const DeprecationReplacementIntent: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"set">; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly kind: Schema.Literal<"preserve">; }>]>; export type VisibilityIntent = { readonly value: ExtensionVisibility; readonly source: "manifest" | "workspace"; readonly fingerprint: VisibilityFingerprint; }; export declare const VisibilityIntent: Schema.Struct<{ readonly value: Schema.Literals; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>; export type VisibilityMutationAuthority = { readonly kind: "operator"; } | { readonly kind: "repository"; readonly source: "manifest" | "workspace"; readonly fingerprint: VisibilityFingerprint; }; export declare const VisibilityMutationAuthority: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"repository">; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>]>; export type VisibilityActual = { readonly value: ExtensionVisibility; readonly revision: VisibilityRevision; }; export declare const VisibilityActual: Schema.Struct<{ readonly value: Schema.Literals; readonly revision: Schema.String; }>; export type VisibilityFinding = { readonly code: VisibilityFindingCode; readonly severity: "error" | "warning"; readonly message: string; }; export declare const VisibilityFinding: Schema.Struct<{ readonly code: Schema.Literals; readonly severity: Schema.Literals; readonly message: Schema.String; }>; export type PackDependencyDescriptor = { readonly owner: Handle; readonly type: "hook" | "knowledge" | "mcp-server" | "rule" | "skill" | "subagent"; readonly name: ExtensionName; readonly range: VersionRange; }; export declare const PackDependencyDescriptor: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; export type AuthMeUser = { readonly id: UserId; readonly handle: string; readonly email: string | null; }; export declare const AuthMeUser: Schema.Struct<{ readonly id: Schema.String; readonly handle: Schema.String; readonly email: Schema.Union; }>; export type AuthMeToken = { readonly id: string; readonly type: "session" | "pat" | "oidc" | "publish-capability"; readonly name: string | null; readonly permissions: Schema.Json | null; readonly scopes: ReadonlyArray; readonly resource_restrictions: ResourceRestrictions; readonly expires_at: IsoDateTimeString; }; export declare const AuthMeToken: Schema.Struct<{ readonly id: Schema.String; readonly type: Schema.Literals; readonly name: Schema.Union; readonly permissions: Schema.Union, Schema.Null]>; readonly scopes: Schema.$Array; readonly resource_restrictions: Schema.Struct<{ readonly extensions: Schema.Union, Schema.Null]>; }>; readonly expires_at: Schema.decodeTo; }>; export type TokenListItem = { readonly id: TokenId; readonly name: string | null; readonly type: string; readonly scopes: ReadonlyArray; readonly permissions: Schema.Json | null; readonly created_at: IsoDateTimeString; readonly expires_at: IsoDateTimeString; readonly last_used_at: IsoDateTimeString | null; }; export declare const TokenListItem: Schema.Struct<{ readonly id: Schema.String; readonly name: Schema.Union; readonly type: Schema.String; readonly scopes: Schema.$Array; readonly permissions: Schema.Union, Schema.Null]>; readonly created_at: Schema.decodeTo; readonly expires_at: Schema.decodeTo; readonly last_used_at: Schema.Union, Schema.Null]>; }>; export type CreateTokenResponse = { readonly id: TokenId; readonly token: string; readonly name: string; readonly scopes: ReadonlyArray; readonly permissions: Schema.Json; readonly created_at: IsoDateTimeString; readonly expires_at: IsoDateTimeString; }; export declare const CreateTokenResponse: Schema.Struct<{ readonly id: Schema.String; readonly token: Schema.String; readonly name: Schema.String; readonly scopes: Schema.$Array; readonly permissions: Schema.Codec; readonly created_at: Schema.decodeTo; readonly expires_at: Schema.decodeTo; }>; export type ForbiddenErrorEncoded = { readonly kind: "ForbiddenError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "recent_authentication_required" | "step_up_wrong_actor" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "library_mutation_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "resource_group_create_not_authorized" | "resource_group_update_not_authorized" | "resource_group_delete_not_authorized" | "resource_group_access_not_authorized" | "resource_move_not_authorized" | "resource_access_not_authorized" | "access_policy_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden" | "publish/capability-binding-mismatch" | "publish/capability-expired" | "publish/capability-revoked" | "publish/capability-consumed"; readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails; }; export declare const ForbiddenErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>; export type Union_1 = StepUpRequestId | null; export declare const Union_1: Schema.Union; export type CreateTokenRequest = { readonly name: string; readonly permissions: CreateTokenPermissionsRequest; readonly expires_in: number; }; export declare const CreateTokenRequest: Schema.Struct<{ readonly name: Schema.String; readonly permissions: Schema.Struct<{ readonly owners: Schema.optionalKey, Schema.Null]>>; readonly extensions: Schema.optionalKey, Schema.Null]>>; readonly permission: Schema.optionalKey, Schema.Null]>>; readonly org_permission: Schema.optionalKey, Schema.Null]>>; readonly cidr: Schema.optionalKey, Schema.Null]>>; readonly bypass_mfa: Schema.optionalKey>; }>; readonly expires_in: Schema.Number; }>; export type StepUpRequiredErrorEncoded = { readonly kind: "StepUpRequiredError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "eotp"; readonly step_up?: { readonly request_id: StepUpRequestId; readonly verification_url: string; readonly status_url: string; readonly expires_at: IsoDateTimeString_1; readonly interval: number; readonly action: string; readonly target: string; }; readonly max_age?: number; }; export declare const StepUpRequiredErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"StepUpRequiredError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>; export type Union_2 = Repository | null; export declare const Union_2: Schema.Union>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>; export type Union_3 = LicenseExpression | null; export declare const Union_3: Schema.Union; export type Union_4 = number | Union_5; export declare const Union_4: Schema.Union]>; export type Union_8 = number | Union_5; export declare const Union_8: Schema.Union]>; export type Union_6 = Bugs | null; export declare const Union_6: Schema.Union>; readonly email: Schema.optionalKey>; }>, Schema.Null]>; export type CompanionPackage = { readonly purl: PackageIdentityPurl; readonly versionRange?: string | null; }; export declare const CompanionPackage: Schema.Struct<{ readonly purl: Schema.String; readonly versionRange: Schema.optionalKey>; }>; export type Library = { readonly id: LibraryId; readonly owner: Handle; readonly name: LibraryName; readonly title: string; readonly description: string | null; readonly visibility: LibraryVisibility; readonly createdAt: IsoDateTimeString; readonly updatedAt: IsoDateTimeString; }; export declare const Library: Schema.Struct<{ readonly id: Schema.String; readonly owner: Schema.String; readonly name: Schema.String; readonly title: Schema.String; readonly description: Schema.Union; readonly visibility: Schema.Literals; readonly createdAt: Schema.decodeTo; readonly updatedAt: Schema.decodeTo; }>; export type LibraryMember = { readonly id: LibraryMemberId; readonly libraryId: LibraryId; readonly extensionId: string; readonly extensionOwner: Handle; readonly extensionType: ExtensionType; readonly extensionName: ExtensionName; readonly addedAt: IsoDateTimeString; }; export declare const LibraryMember: Schema.Struct<{ readonly id: Schema.String; readonly libraryId: Schema.String; readonly extensionId: Schema.String; readonly extensionOwner: Schema.String; readonly extensionType: Schema.Literals; readonly extensionName: Schema.String; readonly addedAt: Schema.decodeTo; }>; export type SessionTokenResponse = { readonly access_token: string; readonly refresh_token?: string | null; readonly token_type: "Bearer"; readonly expires_in: number; readonly expires_at: IsoDateTimeString; readonly scope?: string | null; readonly publish_request_id?: string | null; readonly visibility_contract?: "v2" | null; readonly visibility?: PublishVisibility | null; readonly condition?: string | null; readonly publication_set_digest?: Union_; readonly publication_descriptor_digest?: Union_; }; export declare const SessionTokenResponse: Schema.Struct<{ readonly access_token: Schema.String; readonly refresh_token: Schema.optionalKey>; readonly token_type: Schema.Literal<"Bearer">; readonly expires_in: Schema.Number; readonly expires_at: Schema.decodeTo; readonly scope: Schema.optionalKey>; readonly publish_request_id: Schema.optionalKey>; readonly visibility_contract: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.optionalKey; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>>; readonly condition: Schema.optionalKey>; readonly publication_set_digest: Schema.optionalKey>; readonly publication_descriptor_digest: Schema.optionalKey>; }>; export type ExtensionIdentityMismatchErrorEncoded = { readonly kind: "ExtensionIdentityMismatchError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "extension_identity_mismatch"; readonly error: "extension_identity_mismatch"; readonly identity: PublishIdentity; readonly mismatches: ReadonlyArray; }; export declare const ExtensionIdentityMismatchErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"ExtensionIdentityMismatchError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"extension_identity_mismatch">; readonly error: Schema.Literal<"extension_identity_mismatch">; readonly identity: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly mismatches: Schema.$Array; readonly urlPath: Schema.Union; readonly content: Schema.Union; }>>; }>; export type DeprecationView = { readonly deprecatedAt: IsoDateTimeString; readonly message: DeprecationMessage; readonly replacement?: DeprecationReplacement | null; } | { readonly deprecatedAt: IsoDateTimeString; readonly message?: DeprecationMessage | null; readonly replacement: DeprecationReplacement; }; export declare const DeprecationView: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>; export type PutDeprecationBody = { readonly message: string | null; readonly replacement: DeprecationReplacementIntent; }; export declare const PutDeprecationBody: Schema.Struct<{ readonly message: Schema.Union; readonly replacement: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"set">; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly kind: Schema.Literal<"preserve">; }>]>; }>; export type PublicationVisibilityInput = { readonly intent: VisibilityIntent | null; readonly request: ExtensionVisibility | null; }; export declare const PublicationVisibilityInput: Schema.Struct<{ readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; }>; export type VisibilityMutationRequest = { readonly target: ExtensionFqn; readonly visibility: ExtensionVisibility; readonly revision: VisibilityRevision; readonly authority: VisibilityMutationAuthority; readonly verification?: string | null; }; export declare const VisibilityMutationRequest: Schema.Struct<{ readonly target: Schema.String; readonly visibility: Schema.Literals; readonly revision: Schema.String; readonly authority: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"repository">; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>]>; readonly verification: Schema.optionalKey>; }>; export type VisibilityMutationResult = { readonly target: ExtensionFqn; readonly before: ExtensionVisibility; readonly after: ExtensionVisibility; readonly authority: VisibilityMutationAuthority; readonly result: "already-satisfied" | "changed"; readonly revision: VisibilityRevision; }; export declare const VisibilityMutationResult: Schema.Struct<{ readonly target: Schema.String; readonly before: Schema.Literals; readonly after: Schema.Literals; readonly authority: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"repository">; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>]>; readonly result: Schema.Literals; readonly revision: Schema.String; }>; export type VisibilityEvaluation = { readonly target: ExtensionFqn; readonly intent: VisibilityIntent | null; readonly request: ExtensionVisibility | null; readonly resolved: PublishVisibility | null; readonly actual: VisibilityActual | null; readonly comparison: VisibilityComparison; readonly findings: ReadonlyArray; }; export declare const VisibilityEvaluation: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; export type VisibilityEvaluationUnavailable = { readonly target: ExtensionFqn; readonly unavailable: true; readonly findings: ReadonlyArray; }; export declare const VisibilityEvaluationUnavailable: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; export type PackDependencyResolution = { readonly dependency: PackDependencyDescriptor; readonly effectiveVersion: Version; }; export declare const PackDependencyResolution: Schema.Struct<{ readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>; export type AuthMeResponse = { readonly user: AuthMeUser; readonly orgs: readonly []; readonly token: AuthMeToken; }; export declare const AuthMeResponse: Schema.Struct<{ readonly user: Schema.Struct<{ readonly id: Schema.String; readonly handle: Schema.String; readonly email: Schema.Union; }>; readonly orgs: Schema.Tuple; readonly token: Schema.Struct<{ readonly id: Schema.String; readonly type: Schema.Literals; readonly name: Schema.Union; readonly permissions: Schema.Union, Schema.Null]>; readonly scopes: Schema.$Array; readonly resource_restrictions: Schema.Struct<{ readonly extensions: Schema.Union, Schema.Null]>; }>; readonly expires_at: Schema.decodeTo; }>; }>; export type TokenListResponse = { readonly tokens: ReadonlyArray; readonly has_more: boolean; readonly cursor: string | null; }; export declare const TokenListResponse: Schema.Struct<{ readonly tokens: Schema.$Array; readonly type: Schema.String; readonly scopes: Schema.$Array; readonly permissions: Schema.Union, Schema.Null]>; readonly created_at: Schema.decodeTo; readonly expires_at: Schema.decodeTo; readonly last_used_at: Schema.Union, Schema.Null]>; }>>; readonly has_more: Schema.Boolean; readonly cursor: Schema.Union; }>; export type PublishFindingLocation = { readonly file: string; readonly line?: Union_8; readonly column?: Union_8; readonly byteOffset?: Union_8; readonly byteLength?: Union_8; }; export declare const PublishFindingLocation: Schema.Struct<{ readonly file: Schema.String; readonly line: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>; export type LibraryDetail = { readonly library: Library; readonly members: ReadonlyArray; readonly accessibleMemberCount: number; }; export declare const LibraryDetail: Schema.Struct<{ readonly library: Schema.Struct<{ readonly id: Schema.String; readonly owner: Schema.String; readonly name: Schema.String; readonly title: Schema.String; readonly description: Schema.Union; readonly visibility: Schema.Literals; readonly createdAt: Schema.decodeTo; readonly updatedAt: Schema.decodeTo; }>; readonly members: Schema.$Array; readonly extensionName: Schema.String; readonly addedAt: Schema.decodeTo; }>>; readonly accessibleMemberCount: Schema.Number; }>; export type ListLibraryMembersResponse = { readonly members: ReadonlyArray; readonly total: number; readonly limit: number; readonly offset: number; readonly viewerRelative: true; }; export declare const ListLibraryMembersResponse: Schema.Struct<{ readonly members: Schema.$Array; readonly extensionName: Schema.String; readonly addedAt: Schema.decodeTo; }>>; readonly total: Schema.Number; readonly limit: Schema.Number; readonly offset: Schema.Number; readonly viewerRelative: Schema.Literal; }>; export type PackDependencyFinding = { readonly kind: "advisory"; readonly ruleId: "pack/dependency-version-resolvable" | "pack/dependency-deprecated"; readonly severity: "error" | "warning"; readonly reason: "selected-new-private" | "selected-existing-private" | "target-unavailable" | "lifecycle-unavailable" | "no-installable-version" | "range-unsatisfied" | "deprecated"; readonly dependency: PackDependencyDescriptor; readonly effectiveVisibility?: "public" | "private" | null; readonly lifecycle?: "active" | "unavailable" | null; readonly deprecation?: DeprecationView | null; readonly location: { readonly file: "pack.json"; }; readonly path: "./pack.json"; readonly message: string; readonly suggestions: ReadonlyArray; }; export declare const PackDependencyFinding: Schema.Struct<{ readonly kind: Schema.Literal<"advisory">; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>; export type DeprecationManagementView = { readonly deprecation: DeprecationView | null; readonly revision: DeprecationRevision; }; export declare const DeprecationManagementView: Schema.Struct<{ readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly revision: Schema.String; }>; export type DeprecationTransition = { readonly target: ExtensionFqn; readonly before: DeprecationView | null; readonly after: DeprecationView | null; readonly disposition: "created" | "edited" | "restored" | "unchanged"; readonly revision: DeprecationRevision; }; export declare const DeprecationTransition: Schema.Struct<{ readonly target: Schema.String; readonly before: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly after: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly disposition: Schema.Literals; readonly revision: Schema.String; }>; export type SearchHit = { readonly name: ExtensionName; readonly owner: Handle; readonly type: ExtensionType; readonly latestVersion: Version; readonly description?: Union_; readonly repository?: Union_2; readonly license?: Union_3; readonly authors?: ReadonlyArray | null; readonly deprecation: DeprecationView | null; readonly matched_fields?: ReadonlyArray | null; readonly visibility: "public" | "private"; }; export declare const SearchHit: Schema.Struct<{ readonly name: Schema.String; readonly owner: Schema.String; readonly type: Schema.Literals; readonly latestVersion: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly matched_fields: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.Literals; }>; export type PublicationDescriptor = { readonly target: PublicationTarget; readonly participation: "publish" | "verified-existing"; readonly archiveSha256Hex?: Sha256Hex | null; readonly visibility: PublicationVisibilityInput; readonly pack?: { readonly dependencies: ReadonlyArray; } | null; }; export declare const PublicationDescriptor: Schema.Struct<{ readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly archiveSha256Hex: Schema.optionalKey>; readonly visibility: Schema.Struct<{ readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; }>; readonly pack: Schema.optionalKey; readonly name: Schema.String; readonly range: Schema.String; }>>; }>, Schema.Null]>>; }>; export type PublishLintFinding = { readonly kind: "advisory" | "autofixable"; readonly ruleId: string; readonly severity: Union_7; readonly message: string; readonly location?: PublishFindingLocation; readonly path: string; readonly suggestions: ReadonlyArray; }; export declare const PublishLintFinding: Schema.Struct<{ readonly kind: Schema.Literals; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly location: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>>; readonly path: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>; export type PublishLintFinding_1 = { readonly kind: "advisory" | "autofixable"; readonly ruleId: string; readonly severity: Union_7; readonly message: string; readonly location?: PublishFindingLocation; readonly path: string; readonly suggestions: ReadonlyArray; }; export declare const PublishLintFinding_1: Schema.Struct<{ readonly kind: Schema.Literals; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly location: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>>; readonly path: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>; export type PreviewPublicationSetResponse = { readonly contract: "publication-set-v2"; readonly publicationSetDigest: Sha256Hex; readonly status: "admitted" | "blocked"; readonly candidates: ReadonlyArray<{ readonly kind: "resolved"; readonly target: PublicationTarget; readonly participation: "publish" | "verified-existing"; readonly descriptorDigest: Sha256Hex; readonly visibility: VisibilityEvaluation; readonly condition?: Union_; } | { readonly kind: "unavailable"; readonly target: PublicationTarget; readonly participation: "publish" | "verified-existing"; readonly descriptorDigest: Sha256Hex; readonly code: "publish/target-unavailable"; readonly visibility: VisibilityEvaluationUnavailable; }>; readonly packs: ReadonlyArray<{ readonly target: PublicationTarget; readonly status: "admitted" | "blocked"; readonly findings: ReadonlyArray; readonly resolutions: ReadonlyArray; }>; }; export declare const PreviewPublicationSetResponse: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>; export type SearchResponse = { readonly extensions: ReadonlyArray; readonly has_more: boolean; readonly cursor: string | null; readonly total: number; readonly total_relation: "exact"; }; export declare const SearchResponse: Schema.Struct<{ readonly extensions: Schema.$Array; readonly latestVersion: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly matched_fields: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.Literals; }>>; readonly has_more: Schema.Boolean; readonly cursor: Schema.Union; readonly total: Schema.Number; readonly total_relation: Schema.Literal<"exact">; }>; export type PreviewPublicationSetRequest = { readonly contract: "publication-set-v2"; readonly candidates: ReadonlyArray; }; export declare const PreviewPublicationSetRequest: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly candidates: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly archiveSha256Hex: Schema.optionalKey>; readonly visibility: Schema.Struct<{ readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; }>; readonly pack: Schema.optionalKey; readonly name: Schema.String; readonly range: Schema.String; }>>; }>, Schema.Null]>>; }>>; }>; export type ExtensionLintFailedErrorEncoded = { readonly kind: "ExtensionLintFailedError"; readonly type: string; readonly title: string; readonly status: number; readonly detail: string; readonly instance?: string; readonly code: "extension_lint_failed"; readonly error: "extension_lint_failed"; readonly identity: PublishIdentity; readonly displayRoot: string; readonly findings: ReadonlyArray; }; export declare const ExtensionLintFailedErrorEncoded: Schema.Struct<{ readonly kind: Schema.Literal<"ExtensionLintFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"extension_lint_failed">; readonly error: Schema.Literal<"extension_lint_failed">; readonly identity: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly displayRoot: Schema.String; readonly findings: Schema.$Array; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly location: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>>; readonly path: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; }>; export type PublishAuthorizationExchangeResponse = { readonly status: "admitted"; readonly preview?: PreviewPublicationSetResponse | null; readonly grants: ReadonlyArray; } | { readonly status: "blocked"; readonly preview: PreviewPublicationSetResponse; readonly grants: readonly []; }; export declare const PublishAuthorizationExchangeResponse: Schema.Union; readonly preview: Schema.optionalKey; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>, Schema.Null]>>; readonly grants: Schema.$Array>; readonly token_type: Schema.Literal<"Bearer">; readonly expires_in: Schema.Number; readonly expires_at: Schema.decodeTo; readonly scope: Schema.optionalKey>; readonly publish_request_id: Schema.optionalKey>; readonly visibility_contract: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.optionalKey; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>>; readonly condition: Schema.optionalKey>; readonly publication_set_digest: Schema.optionalKey>; readonly publication_descriptor_digest: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly status: Schema.Literal<"blocked">; readonly preview: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>; readonly grants: Schema.Tuple; }>]>; export type MetaGet200 = MetaResponse; export declare const MetaGet200: Schema.Struct<{ readonly ok: Schema.Literal; readonly service: Schema.Literal<"registry">; readonly message: Schema.String; readonly docs: Schema.Union; readonly openapi: Schema.Union; }>; export type MetaGet400 = DecodeErrorResponseEncoded; export declare const MetaGet400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type AuthIssueDeviceCodeRequestFormUrlEncoded = { readonly client_id: string; readonly scope?: string | null; }; export declare const AuthIssueDeviceCodeRequestFormUrlEncoded: Schema.Struct<{ readonly client_id: Schema.String; readonly scope: Schema.optionalKey>; }>; export type AuthIssueDeviceCode200 = DeviceCodeResponse; export declare const AuthIssueDeviceCode200: Schema.Struct<{ readonly device_code: Schema.String; readonly user_code: Schema.String; readonly verification_uri: Schema.String; readonly verification_uri_complete: Schema.String; readonly expires_in: Schema.Number; readonly interval: Schema.Number; }>; export type AuthIssueDeviceCode400 = DeviceCodeOAuthError | DecodeErrorResponseEncoded; export declare const AuthIssueDeviceCode400: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type AuthIssueDeviceCode500 = ProblemDetails; export declare const AuthIssueDeviceCode500: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthExchangeTokenRequestFormUrlEncoded = { readonly grant_type: string; readonly code?: string | null; readonly code_verifier?: string | null; readonly client_id?: string | null; readonly redirect_uri?: string | null; readonly device_code?: string | null; readonly refresh_token?: string | null; readonly scope?: string | null; }; export declare const AuthExchangeTokenRequestFormUrlEncoded: Schema.Struct<{ readonly grant_type: Schema.String; readonly code: Schema.optionalKey>; readonly code_verifier: Schema.optionalKey>; readonly client_id: Schema.optionalKey>; readonly redirect_uri: Schema.optionalKey>; readonly device_code: Schema.optionalKey>; readonly refresh_token: Schema.optionalKey>; readonly scope: Schema.optionalKey>; }>; export type AuthExchangeToken200 = SessionTokenResponse | PublishAuthorizationExchangeResponse; export declare const AuthExchangeToken200: Schema.Union>; readonly token_type: Schema.Literal<"Bearer">; readonly expires_in: Schema.Number; readonly expires_at: Schema.decodeTo; readonly scope: Schema.optionalKey>; readonly publish_request_id: Schema.optionalKey>; readonly visibility_contract: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.optionalKey; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>>; readonly condition: Schema.optionalKey>; readonly publication_set_digest: Schema.optionalKey>; readonly publication_descriptor_digest: Schema.optionalKey>; }>, Schema.Union; readonly preview: Schema.optionalKey; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>, Schema.Null]>>; readonly grants: Schema.$Array>; readonly token_type: Schema.Literal<"Bearer">; readonly expires_in: Schema.Number; readonly expires_at: Schema.decodeTo; readonly scope: Schema.optionalKey>; readonly publish_request_id: Schema.optionalKey>; readonly visibility_contract: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.optionalKey; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>>; readonly condition: Schema.optionalKey>; readonly publication_set_digest: Schema.optionalKey>; readonly publication_descriptor_digest: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly status: Schema.Literal<"blocked">; readonly preview: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>; readonly grants: Schema.Tuple; }>]>]>; export type AuthExchangeToken400 = ProblemDetails | DecodeErrorResponseEncoded | TokenOAuthErrorEncoded; export declare const AuthExchangeToken400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>, Schema.Struct<{ readonly kind: Schema.Literal<"TokenOAuthError">; readonly error: Schema.Literals; readonly error_description: Schema.String; }>]>; export type AuthRevokeOAuthTokenRequestFormUrlEncoded = { readonly token: string; readonly token_type_hint?: "refresh_token" | "access_token" | null; }; export declare const AuthRevokeOAuthTokenRequestFormUrlEncoded: Schema.Struct<{ readonly token: Schema.String; readonly token_type_hint: Schema.optionalKey, Schema.Null]>>; }>; export type AuthRevokeOAuthToken400 = DecodeErrorResponseEncoded; export declare const AuthRevokeOAuthToken400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type AuthGetWhoami200 = AuthWhoamiResponse; export declare const AuthGetWhoami200: Schema.Struct<{ readonly handle: Schema.String; }>; export type AuthGetWhoami400 = DecodeErrorResponseEncoded; export declare const AuthGetWhoami400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type AuthGetWhoami401 = ProblemDetails; export declare const AuthGetWhoami401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthGetMe200 = AuthMeResponse; export declare const AuthGetMe200: Schema.Struct<{ readonly user: Schema.Struct<{ readonly id: Schema.String; readonly handle: Schema.String; readonly email: Schema.Union; }>; readonly orgs: Schema.Tuple; readonly token: Schema.Struct<{ readonly id: Schema.String; readonly type: Schema.Literals; readonly name: Schema.Union; readonly permissions: Schema.Union, Schema.Null]>; readonly scopes: Schema.$Array; readonly resource_restrictions: Schema.Struct<{ readonly extensions: Schema.Union, Schema.Null]>; }>; readonly expires_at: Schema.decodeTo; }>; }>; export type AuthGetMe400 = DecodeErrorResponseEncoded; export declare const AuthGetMe400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type AuthGetMe401 = ProblemDetails; export declare const AuthGetMe401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthGetStepUpRequest200 = StepUpRequestStatusResponse; export declare const AuthGetStepUpRequest200: Schema.Struct<{ readonly status: Schema.Literals; readonly expires_at: Schema.decodeTo; }>; export type AuthGetStepUpRequest400 = DecodeErrorResponseEncoded; export declare const AuthGetStepUpRequest400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type AuthGetStepUpRequest401 = ProblemDetails; export declare const AuthGetStepUpRequest401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthGetStepUpRequest404 = ProblemDetails; export declare const AuthGetStepUpRequest404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthGetStepUpRequest429 = ProblemDetails; export declare const AuthGetStepUpRequest429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type AuthCreatePublishAuthorizationRequestRequestJson = { readonly client_id: string; readonly redirect_uri: string; readonly state: string; readonly code_challenge: string; readonly code_challenge_method: "S256"; readonly publication_set: PreviewPublicationSetRequest; }; export declare const AuthCreatePublishAuthorizationRequestRequestJson: Schema.Struct<{ readonly client_id: Schema.String; readonly redirect_uri: Schema.String; readonly state: Schema.String; readonly code_challenge: Schema.String; readonly code_challenge_method: Schema.Literal<"S256">; readonly publication_set: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly candidates: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly archiveSha256Hex: Schema.optionalKey>; readonly visibility: Schema.Struct<{ readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; }>; readonly pack: Schema.optionalKey; readonly name: Schema.String; readonly range: Schema.String; }>>; }>, Schema.Null]>>; }>>; }>; }>; export type AuthCreatePublishAuthorizationRequest201 = { readonly request_id: PublishAuthorizationRequestId; readonly authorization_url: string; readonly expires_at: IsoDateTimeString; }; export declare const AuthCreatePublishAuthorizationRequest201: Schema.Struct<{ readonly request_id: Schema.String; readonly authorization_url: Schema.String; readonly expires_at: Schema.decodeTo; }>; export type AuthCreatePublishAuthorizationRequest400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const AuthCreatePublishAuthorizationRequest400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type TokensListParams = { readonly cursor?: string | null; readonly limit?: string | null; }; export declare const TokensListParams: Schema.Struct<{ readonly cursor: Schema.optionalKey>; readonly limit: Schema.optionalKey>; }>; export type TokensList200 = TokenListResponse; export declare const TokensList200: Schema.Struct<{ readonly tokens: Schema.$Array; readonly type: Schema.String; readonly scopes: Schema.$Array; readonly permissions: Schema.Union, Schema.Null]>; readonly created_at: Schema.decodeTo; readonly expires_at: Schema.decodeTo; readonly last_used_at: Schema.Union, Schema.Null]>; }>>; readonly has_more: Schema.Boolean; readonly cursor: Schema.Union; }>; export type TokensList400 = DecodeErrorResponseEncoded; export declare const TokensList400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type TokensList401 = ProblemDetails; export declare const TokensList401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensList403 = ForbiddenErrorEncoded; export declare const TokensList403: Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>; export type TokensCreateParams = { readonly "x-axm-step-up-request"?: Union_1; }; export declare const TokensCreateParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; }>; export type TokensCreateRequestJson = CreateTokenRequest; export declare const TokensCreateRequestJson: Schema.Struct<{ readonly name: Schema.String; readonly permissions: Schema.Struct<{ readonly owners: Schema.optionalKey, Schema.Null]>>; readonly extensions: Schema.optionalKey, Schema.Null]>>; readonly permission: Schema.optionalKey, Schema.Null]>>; readonly org_permission: Schema.optionalKey, Schema.Null]>>; readonly cidr: Schema.optionalKey, Schema.Null]>>; readonly bypass_mfa: Schema.optionalKey>; }>; readonly expires_in: Schema.Number; }>; export type TokensCreate201 = CreateTokenResponse; export declare const TokensCreate201: Schema.Struct<{ readonly id: Schema.String; readonly token: Schema.String; readonly name: Schema.String; readonly scopes: Schema.$Array; readonly permissions: Schema.Codec; readonly created_at: Schema.decodeTo; readonly expires_at: Schema.decodeTo; }>; export type TokensCreate400 = DecodeErrorResponseEncoded; export declare const TokensCreate400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type TokensCreate401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const TokensCreate401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type TokensCreate403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const TokensCreate403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type TokensCreate404 = ProblemDetails; export declare const TokensCreate404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensCreate409 = ProblemDetails; export declare const TokensCreate409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensCreate410 = ProblemDetails; export declare const TokensCreate410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensCreate422 = ProblemDetails; export declare const TokensCreate422: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensCreate429 = ProblemDetails; export declare const TokensCreate429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensDelete400 = DecodeErrorResponseEncoded; export declare const TokensDelete400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type TokensDelete401 = ProblemDetails; export declare const TokensDelete401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type TokensDelete403 = ForbiddenErrorEncoded; export declare const TokensDelete403: Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>; export type OwnersGetOwner200 = OwnerResponse; export declare const OwnersGetOwner200: Schema.Struct<{ readonly displayName: Schema.String; }>; export type OwnersGetOwner400 = DecodeErrorResponseEncoded; export declare const OwnersGetOwner400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type OwnersGetOwner404 = ProblemDetails; export declare const OwnersGetOwner404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsListByOwner200 = { readonly extensions: ReadonlyArray<{ readonly name: ExtensionName; readonly owner: Handle; readonly type: ExtensionType; readonly latestVersion: Version; readonly description?: Union_; readonly repository?: Union_2; readonly license?: Union_3; readonly authors?: ReadonlyArray | null; readonly visibility?: string | null; readonly deprecation: DeprecationView | null; }>; }; export declare const ExtensionsListByOwner200: Schema.Struct<{ readonly extensions: Schema.$Array; readonly latestVersion: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly visibility: Schema.optionalKey>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; }>>; }>; export type ExtensionsListByOwner400 = DecodeErrorResponseEncoded; export declare const ExtensionsListByOwner400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsListByTypeParams = { readonly limit?: string | null; readonly offset?: string | null; }; export declare const ExtensionsListByTypeParams: Schema.Struct<{ readonly limit: Schema.optionalKey>; readonly offset: Schema.optionalKey>; }>; export type ExtensionsListByType200 = { readonly extensions: ReadonlyArray<{ readonly name: ExtensionName; readonly owner: Handle; readonly type: ExtensionType; readonly latestVersion: Version; readonly description?: Union_; readonly repository?: Union_2; readonly license?: Union_3; readonly authors?: ReadonlyArray | null; readonly visibility?: string | null; readonly deprecation: DeprecationView | null; }>; readonly total: Union_4; }; export declare const ExtensionsListByType200: Schema.Struct<{ readonly extensions: Schema.$Array; readonly latestVersion: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly visibility: Schema.optionalKey>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; }>>; readonly total: Schema.Union]>; }>; export type ExtensionsListByType400 = DecodeErrorResponseEncoded; export declare const ExtensionsListByType400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGet200 = { readonly name: ExtensionName; readonly owner: Handle; readonly type: ExtensionType; readonly publisher_binding_id: string; readonly description?: Union_; readonly repository?: Union_2; readonly bugs?: Union_6; readonly license?: Union_3; readonly authors?: ReadonlyArray | null; readonly versions: ReadonlyArray<{ readonly version: Version; readonly published: IsoDateTimeString; readonly integrity: string; readonly dependencies?: { readonly [x: string]: VersionRange; } | null; readonly packages?: ReadonlyArray | null; readonly yanked_at?: IsoDateTimeString | null; readonly yank_category?: Union_; readonly yank_notice?: Union_; }>; readonly visibility?: "public" | "private" | null; readonly deprecation: DeprecationView | null; }; export declare const ExtensionsGet200: Schema.Struct<{ readonly name: Schema.String; readonly owner: Schema.String; readonly type: Schema.Literals; readonly publisher_binding_id: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly bugs: Schema.optionalKey>; readonly email: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly versions: Schema.$Array; readonly integrity: Schema.String; readonly dependencies: Schema.optionalKey, Schema.Null]>>; readonly packages: Schema.optionalKey>; }>>, Schema.Null]>>; readonly yanked_at: Schema.optionalKey, Schema.Null]>>; readonly yank_category: Schema.optionalKey>; readonly yank_notice: Schema.optionalKey>; }>>; readonly visibility: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; }>; export type ExtensionsGet400 = DecodeErrorResponseEncoded; export declare const ExtensionsGet400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGet404 = ProblemDetails; export declare const ExtensionsGet404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteExtensionParams = { readonly "x-axm-step-up-request"?: Union_1; }; export declare const ExtensionsDeleteExtensionParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; }>; export type ExtensionsDeleteExtensionRequestJson = DeleteExtensionBody; export declare const ExtensionsDeleteExtensionRequestJson: Schema.Struct<{ readonly confirmation: Schema.String; }>; export type ExtensionsDeleteExtension202 = { readonly operationId: ExtensionDeletionOperationId; readonly state: "pending"; readonly requiredConfirmation: string; readonly warnings: { readonly versions: ReadonlyArray; readonly dependentPackCount: Union_4; readonly libraryMembershipCount: Union_4; readonly downloadCount: Union_4 | null; }; }; export declare const ExtensionsDeleteExtension202: Schema.Struct<{ readonly operationId: Schema.String; readonly state: Schema.Literal<"pending">; readonly requiredConfirmation: Schema.String; readonly warnings: Schema.Struct<{ readonly versions: Schema.$Array; readonly dependentPackCount: Schema.Union]>; readonly libraryMembershipCount: Schema.Union]>; readonly downloadCount: Schema.Union]>, Schema.Null]>; }>; }>; export type ExtensionsDeleteExtension400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsDeleteExtension400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsDeleteExtension401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const ExtensionsDeleteExtension401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type ExtensionsDeleteExtension403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsDeleteExtension403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsDeleteExtension404 = ProblemDetails; export declare const ExtensionsDeleteExtension404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteExtension409 = ProblemDetails; export declare const ExtensionsDeleteExtension409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteExtension410 = ProblemDetails; export declare const ExtensionsDeleteExtension410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteExtension429 = ProblemDetails; export declare const ExtensionsDeleteExtension429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUpdateVisibilityParams = { readonly "x-axm-step-up-request"?: Union_1; readonly "if-match": string; }; export declare const ExtensionsUpdateVisibilityParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; readonly "if-match": Schema.String; }>; export type ExtensionsUpdateVisibilityRequestJson = VisibilityMutationRequest; export declare const ExtensionsUpdateVisibilityRequestJson: Schema.Struct<{ readonly target: Schema.String; readonly visibility: Schema.Literals; readonly revision: Schema.String; readonly authority: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"repository">; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>]>; readonly verification: Schema.optionalKey>; }>; export type ExtensionsUpdateVisibility200 = VisibilityMutationResult; export declare const ExtensionsUpdateVisibility200: Schema.Struct<{ readonly target: Schema.String; readonly before: Schema.Literals; readonly after: Schema.Literals; readonly authority: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"repository">; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>]>; readonly result: Schema.Literals; readonly revision: Schema.String; }>; export type ExtensionsUpdateVisibility400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsUpdateVisibility400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsUpdateVisibility401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const ExtensionsUpdateVisibility401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type ExtensionsUpdateVisibility403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsUpdateVisibility403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsUpdateVisibility404 = ProblemDetails; export declare const ExtensionsUpdateVisibility404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUpdateVisibility409 = ProblemDetails; export declare const ExtensionsUpdateVisibility409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUpdateVisibility410 = ProblemDetails; export declare const ExtensionsUpdateVisibility410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUpdateVisibility412 = PreconditionFailedErrorEncoded; export declare const ExtensionsUpdateVisibility412: Schema.Struct<{ readonly kind: Schema.Literal<"PreconditionFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUpdateVisibility429 = ProblemDetails; export declare const ExtensionsUpdateVisibility429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetVersion200 = { readonly name: ExtensionName; readonly owner: Handle; readonly type: ExtensionType; readonly publisher_binding_id: string; readonly version: Version; readonly status: "pending" | "available" | "failed"; readonly published: IsoDateTimeString; readonly integrity: string; readonly description?: Union_; readonly repository?: Union_2; readonly bugs?: Union_6; readonly license?: Union_3; readonly authors?: ReadonlyArray | null; readonly dependencies?: { readonly [x: string]: VersionRange; } | null; readonly packages?: ReadonlyArray | null; readonly metadata?: { readonly [x: string]: never; } | null; readonly yanked_at?: IsoDateTimeString | null; readonly yank_category?: Union_; readonly yank_notice?: Union_; }; export declare const ExtensionsGetVersion200: Schema.Struct<{ readonly name: Schema.String; readonly owner: Schema.String; readonly type: Schema.Literals; readonly publisher_binding_id: Schema.String; readonly version: Schema.String; readonly status: Schema.Literals; readonly published: Schema.decodeTo; readonly integrity: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly bugs: Schema.optionalKey>; readonly email: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly dependencies: Schema.optionalKey, Schema.Null]>>; readonly packages: Schema.optionalKey>; }>>, Schema.Null]>>; readonly metadata: Schema.optionalKey, Schema.Null]>>; readonly yanked_at: Schema.optionalKey, Schema.Null]>>; readonly yank_category: Schema.optionalKey>; readonly yank_notice: Schema.optionalKey>; }>; export type ExtensionsGetVersion400 = DecodeErrorResponseEncoded; export declare const ExtensionsGetVersion400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGetVersion404 = ProblemDetails; export declare const ExtensionsGetVersion404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetVersion410 = ProblemDetails; export declare const ExtensionsGetVersion410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersionParams = { readonly "if-match": string; readonly "x-axm-publication-set-digest": Sha256Hex; readonly "x-axm-publication-descriptor-digest": Sha256Hex; readonly "x-axm-visibility-input": string; readonly visibility?: Visibility | null; }; export declare const ExtensionsPublishVersionParams: Schema.Struct<{ readonly "if-match": Schema.String; readonly "x-axm-publication-set-digest": Schema.String; readonly "x-axm-publication-descriptor-digest": Schema.String; readonly "x-axm-visibility-input": Schema.String; readonly visibility: Schema.optionalKey, Schema.Null]>>; }>; export type ExtensionsPublishVersion201 = { readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly version: Version; readonly integrity: string; readonly sha256_hex: string; readonly published_at: IsoDateTimeString; readonly publish_status: "pending" | "available" | "failed"; readonly visibility: PublishVisibility; readonly warnings: ReadonlyArray; readonly links: ExtensionLinks; }; export declare const ExtensionsPublishVersion201: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; readonly integrity: Schema.String; readonly sha256_hex: Schema.String; readonly published_at: Schema.decodeTo; readonly publish_status: Schema.Literals; readonly visibility: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>; readonly warnings: Schema.$Array; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly location: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>>; readonly path: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly links: Schema.Struct<{ readonly html: Schema.String; }>; }>; export type ExtensionsPublishVersion400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsPublishVersion400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsPublishVersion401 = ProblemDetails; export declare const ExtensionsPublishVersion401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsPublishVersion403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsPublishVersion404 = ProblemDetails; export declare const ExtensionsPublishVersion404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion409 = ProblemDetails; export declare const ExtensionsPublishVersion409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion412 = PreconditionFailedErrorEncoded; export declare const ExtensionsPublishVersion412: Schema.Struct<{ readonly kind: Schema.Literal<"PreconditionFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion413 = ProblemDetails; export declare const ExtensionsPublishVersion413: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion415 = ProblemDetails; export declare const ExtensionsPublishVersion415: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion422 = ProblemDetails | ExtensionLintFailedErrorEncoded | ExtensionIdentityMismatchErrorEncoded; export declare const ExtensionsPublishVersion422: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ExtensionLintFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"extension_lint_failed">; readonly error: Schema.Literal<"extension_lint_failed">; readonly identity: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly displayRoot: Schema.String; readonly findings: Schema.$Array; readonly ruleId: Schema.String; readonly severity: Schema.Literals; readonly message: Schema.String; readonly location: Schema.optionalKey]>>; readonly column: Schema.optionalKey]>>; readonly byteOffset: Schema.optionalKey]>>; readonly byteLength: Schema.optionalKey]>>; }>>; readonly path: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ExtensionIdentityMismatchError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"extension_identity_mismatch">; readonly error: Schema.Literal<"extension_identity_mismatch">; readonly identity: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly mismatches: Schema.$Array; readonly urlPath: Schema.Union; readonly content: Schema.Union; }>>; }>]>; export type ExtensionsPublishVersion429 = ProblemDetails; export declare const ExtensionsPublishVersion429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion500 = ProblemDetails; export declare const ExtensionsPublishVersion500: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPublishVersion503 = ProblemDetails; export declare const ExtensionsPublishVersion503: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeletionOperation200 = { readonly id: ExtensionDeletionOperationId; readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly state: "pending" | "dispatching" | "completed" | "failed"; readonly requestedAt: IsoDateTimeString; readonly completedAt: IsoDateTimeString | null; readonly nameReclaimableAt: IsoDateTimeString | null; readonly failureCode: string | null; readonly failureDetail: string | null; }; export declare const ExtensionsGetDeletionOperation200: Schema.Struct<{ readonly id: Schema.String; readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly state: Schema.Literals; readonly requestedAt: Schema.decodeTo; readonly completedAt: Schema.Union, Schema.Null]>; readonly nameReclaimableAt: Schema.Union, Schema.Null]>; readonly failureCode: Schema.Union; readonly failureDetail: Schema.Union; }>; export type ExtensionsGetDeletionOperation400 = DecodeErrorResponseEncoded; export declare const ExtensionsGetDeletionOperation400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGetDeletionOperation401 = ProblemDetails; export declare const ExtensionsGetDeletionOperation401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeletionOperation403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsGetDeletionOperation403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsGetDeletionOperation404 = ProblemDetails; export declare const ExtensionsGetDeletionOperation404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDownloadArchive400 = DecodeErrorResponseEncoded; export declare const ExtensionsDownloadArchive400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsDownloadArchive404 = ProblemDetails; export declare const ExtensionsDownloadArchive404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDownloadArchive500 = ProblemDetails; export declare const ExtensionsDownloadArchive500: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetVisibilityParams = { readonly intent_visibility?: Visibility | null; readonly intent_source?: "manifest" | "workspace" | null; readonly intent_fingerprint?: VisibilityFingerprint | null; }; export declare const ExtensionsGetVisibilityParams: Schema.Struct<{ readonly intent_visibility: Schema.optionalKey, Schema.Null]>>; readonly intent_source: Schema.optionalKey, Schema.Null]>>; readonly intent_fingerprint: Schema.optionalKey>; }>; export type ExtensionsGetVisibility200 = VisibilityEvaluation; export declare const ExtensionsGetVisibility200: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; export type ExtensionsGetVisibility400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsGetVisibility400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsGetVisibility401 = ProblemDetails; export declare const ExtensionsGetVisibility401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetVisibility403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsGetVisibility403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsGetVisibility404 = ProblemDetails; export declare const ExtensionsGetVisibility404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeprecation200 = DeprecationManagementView; export declare const ExtensionsGetDeprecation200: Schema.Struct<{ readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly revision: Schema.String; }>; export type ExtensionsGetDeprecation400 = DecodeErrorResponseEncoded; export declare const ExtensionsGetDeprecation400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGetDeprecation401 = ProblemDetails; export declare const ExtensionsGetDeprecation401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeprecation403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsGetDeprecation403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsGetDeprecation404 = ProblemDetails; export declare const ExtensionsGetDeprecation404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPutDeprecationParams = { readonly "if-match": string; }; export declare const ExtensionsPutDeprecationParams: Schema.Struct<{ readonly "if-match": Schema.String; }>; export type ExtensionsPutDeprecationRequestJson = PutDeprecationBody; export declare const ExtensionsPutDeprecationRequestJson: Schema.Struct<{ readonly message: Schema.Union; readonly replacement: Schema.Union; }>, Schema.Struct<{ readonly kind: Schema.Literal<"set">; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly kind: Schema.Literal<"preserve">; }>]>; }>; export type ExtensionsPutDeprecation200 = DeprecationTransition; export declare const ExtensionsPutDeprecation200: Schema.Struct<{ readonly target: Schema.String; readonly before: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly after: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly disposition: Schema.Literals; readonly revision: Schema.String; }>; export type ExtensionsPutDeprecation400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsPutDeprecation400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsPutDeprecation401 = ProblemDetails; export declare const ExtensionsPutDeprecation401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPutDeprecation403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsPutDeprecation403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsPutDeprecation404 = ProblemDetails; export declare const ExtensionsPutDeprecation404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPutDeprecation409 = ProblemDetails; export declare const ExtensionsPutDeprecation409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsPutDeprecation412 = PreconditionFailedErrorEncoded; export declare const ExtensionsPutDeprecation412: Schema.Struct<{ readonly kind: Schema.Literal<"PreconditionFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteDeprecationParams = { readonly "if-match": string; }; export declare const ExtensionsDeleteDeprecationParams: Schema.Struct<{ readonly "if-match": Schema.String; }>; export type ExtensionsDeleteDeprecation200 = DeprecationTransition; export declare const ExtensionsDeleteDeprecation200: Schema.Struct<{ readonly target: Schema.String; readonly before: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly after: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly disposition: Schema.Literals; readonly revision: Schema.String; }>; export type ExtensionsDeleteDeprecation400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const ExtensionsDeleteDeprecation400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type ExtensionsDeleteDeprecation401 = ProblemDetails; export declare const ExtensionsDeleteDeprecation401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteDeprecation403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsDeleteDeprecation403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsDeleteDeprecation404 = ProblemDetails; export declare const ExtensionsDeleteDeprecation404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteDeprecation409 = ProblemDetails; export declare const ExtensionsDeleteDeprecation409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsDeleteDeprecation412 = PreconditionFailedErrorEncoded; export declare const ExtensionsDeleteDeprecation412: Schema.Struct<{ readonly kind: Schema.Literal<"PreconditionFailedError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankVersionParams = { readonly "x-axm-step-up-request"?: Union_1; }; export declare const ExtensionsYankVersionParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; }>; export type ExtensionsYankVersionRequestJson = YankVersionBody; export declare const ExtensionsYankVersionRequestJson: Schema.Struct<{ readonly category: Schema.optionalKey, Schema.Null]>>; readonly notice: Schema.optionalKey>; }>; export type ExtensionsYankVersion200 = { readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly version: Version; readonly yankedAt: IsoDateTimeString | null; readonly yankCategory: string | null; readonly yankNotice: string | null; readonly links: ExtensionLinks; }; export declare const ExtensionsYankVersion200: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; readonly yankedAt: Schema.Union, Schema.Null]>; readonly yankCategory: Schema.Union; readonly yankNotice: Schema.Union; readonly links: Schema.Struct<{ readonly html: Schema.String; }>; }>; export type ExtensionsYankVersion400 = DecodeErrorResponseEncoded; export declare const ExtensionsYankVersion400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsYankVersion401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const ExtensionsYankVersion401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type ExtensionsYankVersion403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsYankVersion403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsYankVersion404 = ProblemDetails; export declare const ExtensionsYankVersion404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankVersion409 = ProblemDetails; export declare const ExtensionsYankVersion409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankVersion410 = ProblemDetails; export declare const ExtensionsYankVersion410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankVersion429 = ProblemDetails; export declare const ExtensionsYankVersion429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUnyankVersionParams = { readonly "x-axm-step-up-request"?: Union_1; }; export declare const ExtensionsUnyankVersionParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; }>; export type ExtensionsUnyankVersion200 = { readonly owner: Handle; readonly type: ExtensionType; readonly name: ExtensionName; readonly version: Version; readonly yankedAt: null; readonly yankCategory: null; readonly yankNotice: null; readonly links: ExtensionLinks; }; export declare const ExtensionsUnyankVersion200: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; readonly yankedAt: Schema.Null; readonly yankCategory: Schema.Null; readonly yankNotice: Schema.Null; readonly links: Schema.Struct<{ readonly html: Schema.String; }>; }>; export type ExtensionsUnyankVersion400 = DecodeErrorResponseEncoded; export declare const ExtensionsUnyankVersion400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsUnyankVersion401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const ExtensionsUnyankVersion401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type ExtensionsUnyankVersion403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsUnyankVersion403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsUnyankVersion404 = ProblemDetails; export declare const ExtensionsUnyankVersion404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUnyankVersion409 = ProblemDetails; export declare const ExtensionsUnyankVersion409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUnyankVersion410 = ProblemDetails; export declare const ExtensionsUnyankVersion410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsUnyankVersion429 = ProblemDetails; export declare const ExtensionsUnyankVersion429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankAvailableVersionsParams = { readonly "x-axm-step-up-request"?: Union_1; }; export declare const ExtensionsYankAvailableVersionsParams: Schema.Struct<{ readonly "x-axm-step-up-request": Schema.optionalKey>; }>; export type ExtensionsYankAvailableVersionsRequestJson = YankAvailableVersionsBody; export declare const ExtensionsYankAvailableVersionsRequestJson: Schema.Struct<{ readonly selection: Schema.Literal<"all-available">; readonly category: Schema.optionalKey, Schema.Null]>>; readonly notice: Schema.optionalKey>; }>; export type ExtensionsYankAvailableVersions200 = { readonly selection: "all-available"; readonly affectedVersions: ReadonlyArray; readonly futureVersionsAffected: false; }; export declare const ExtensionsYankAvailableVersions200: Schema.Struct<{ readonly selection: Schema.Literal<"all-available">; readonly affectedVersions: Schema.$Array; readonly futureVersionsAffected: Schema.Literal; }>; export type ExtensionsYankAvailableVersions400 = DecodeErrorResponseEncoded; export declare const ExtensionsYankAvailableVersions400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsYankAvailableVersions401 = StepUpRequiredErrorEncoded | ProblemDetails; export declare const ExtensionsYankAvailableVersions401: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"eotp">; readonly step_up: Schema.optionalKey>; readonly max_age: Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>]>; export type ExtensionsYankAvailableVersions403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsYankAvailableVersions403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsYankAvailableVersions404 = ProblemDetails; export declare const ExtensionsYankAvailableVersions404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankAvailableVersions409 = ProblemDetails; export declare const ExtensionsYankAvailableVersions409: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankAvailableVersions410 = ProblemDetails; export declare const ExtensionsYankAvailableVersions410: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsYankAvailableVersions429 = ProblemDetails; export declare const ExtensionsYankAvailableVersions429: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeletionPreview200 = { readonly requiredConfirmation: string; readonly warnings: { readonly versions: ReadonlyArray; readonly dependentPackCount: Union_4; readonly libraryMembershipCount: Union_4; readonly downloadCount: Union_4 | null; }; }; export declare const ExtensionsGetDeletionPreview200: Schema.Struct<{ readonly requiredConfirmation: Schema.String; readonly warnings: Schema.Struct<{ readonly versions: Schema.$Array; readonly dependentPackCount: Schema.Union]>; readonly libraryMembershipCount: Schema.Union]>; readonly downloadCount: Schema.Union]>, Schema.Null]>; }>; }>; export type ExtensionsGetDeletionPreview400 = DecodeErrorResponseEncoded; export declare const ExtensionsGetDeletionPreview400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type ExtensionsGetDeletionPreview401 = ProblemDetails; export declare const ExtensionsGetDeletionPreview401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type ExtensionsGetDeletionPreview403 = ForbiddenErrorEncoded | ForbiddenErrorEncoded; export declare const ExtensionsGetDeletionPreview403: Schema.Union; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>]>; export type ExtensionsGetDeletionPreview404 = ProblemDetails; export declare const ExtensionsGetDeletionPreview404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type PublishPreviewsPreviewExtensionPublishesRequestJson = PreviewPublicationSetRequest; export declare const PublishPreviewsPreviewExtensionPublishesRequestJson: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly candidates: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly archiveSha256Hex: Schema.optionalKey>; readonly visibility: Schema.Struct<{ readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; }>; readonly pack: Schema.optionalKey; readonly name: Schema.String; readonly range: Schema.String; }>>; }>, Schema.Null]>>; }>>; }>; export type PublishPreviewsPreviewExtensionPublishes200 = PreviewPublicationSetResponse; export declare const PublishPreviewsPreviewExtensionPublishes200: Schema.Struct<{ readonly contract: Schema.Literal<"publication-set-v2">; readonly publicationSetDigest: Schema.String; readonly status: Schema.Literals; readonly candidates: Schema.$Array; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly intent: Schema.Union; readonly source: Schema.Literals; readonly fingerprint: Schema.String; }>, Schema.Null]>; readonly request: Schema.Union, Schema.Null]>; readonly resolved: Schema.Union; readonly disposition: Schema.Literal<"establish">; readonly source: Schema.Literals; }>, Schema.Struct<{ readonly value: Schema.Literals; readonly disposition: Schema.Literal<"preserve">; readonly source: Schema.Literal<"existing">; }>]>, Schema.Null]>; readonly actual: Schema.Union; readonly revision: Schema.String; }>, Schema.Null]>; readonly comparison: Schema.Literals; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; readonly condition: Schema.optionalKey>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"unavailable">; readonly target: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly version: Schema.String; }>; readonly participation: Schema.Literals; readonly descriptorDigest: Schema.String; readonly code: Schema.Literal<"publish/target-unavailable">; readonly visibility: Schema.Struct<{ readonly target: Schema.String; readonly unavailable: Schema.Literal; readonly findings: Schema.$Array; readonly severity: Schema.Literals; readonly message: Schema.String; }>>; }>; }>]>>; readonly packs: Schema.$Array; readonly name: Schema.String; readonly version: Schema.String; }>; readonly status: Schema.Literals; readonly findings: Schema.$Array; readonly ruleId: Schema.Literals; readonly severity: Schema.Literals; readonly reason: Schema.Literals; readonly dependency: Schema.Struct<{ readonly owner: Schema.String; readonly type: Schema.Literals; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVisibility: Schema.optionalKey, Schema.Null]>>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly deprecation: Schema.optionalKey; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>>; readonly location: Schema.Struct<{ readonly file: Schema.Literal<"pack.json">; }>; readonly path: Schema.Literal<"./pack.json">; readonly message: Schema.String; readonly suggestions: Schema.$Array>; readonly url: Schema.optionalKey>; }>>; }>>; readonly resolutions: Schema.$Array; readonly name: Schema.String; readonly range: Schema.String; }>; readonly effectiveVersion: Schema.String; }>>; }>>; }>; export type PublishPreviewsPreviewExtensionPublishes400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const PublishPreviewsPreviewExtensionPublishes400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type PublishPreviewsPreviewExtensionPublishes401 = ProblemDetails; export declare const PublishPreviewsPreviewExtensionPublishes401: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type PublishPreviewsPreviewExtensionPublishes403 = ForbiddenErrorEncoded; export declare const PublishPreviewsPreviewExtensionPublishes403: Schema.Struct<{ readonly kind: Schema.Literal<"ForbiddenError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literals; readonly details: Schema.optionalKey; readonly grantedScopes: Schema.$Array; }>, Schema.Struct<{ readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.$Array; readonly requiredRole: Schema.optionalKey; }>, Schema.Struct<{ readonly retryable: Schema.Boolean; readonly retryAfterSeconds: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>]>>; }>; export type PublishPreviewsPreviewExtensionPublishes413 = PublishPreviewBatchTooLargeHttpErrorEncoded; export declare const PublishPreviewsPreviewExtensionPublishes413: Schema.Struct<{ readonly kind: Schema.Literal<"PublishPreviewBatchTooLargeHttpError">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.Literal<"publish/preflight-batch-too-large">; readonly max_items: Schema.Literal<100>; }>; export type PublishPreviewsPreviewExtensionPublishes503 = ProblemDetails; export declare const PublishPreviewsPreviewExtensionPublishes503: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type LibrariesListLibrariesParams = { readonly limit?: string | null; readonly offset?: string | null; readonly q?: Union_; readonly "filter[visibility]"?: LibraryVisibility | null; }; export declare const LibrariesListLibrariesParams: Schema.Struct<{ readonly limit: Schema.optionalKey>; readonly offset: Schema.optionalKey>; readonly q: Schema.optionalKey>; readonly "filter[visibility]": Schema.optionalKey, Schema.Null]>>; }>; export type LibrariesListLibraries200 = { readonly libraries: ReadonlyArray; readonly total: number; readonly limit: number; readonly offset: number; readonly viewerRelative: true; }; export declare const LibrariesListLibraries200: Schema.Struct<{ readonly libraries: Schema.$Array; readonly visibility: Schema.Literals; readonly createdAt: Schema.decodeTo; readonly updatedAt: Schema.decodeTo; }>>; readonly total: Schema.Number; readonly limit: Schema.Number; readonly offset: Schema.Number; readonly viewerRelative: Schema.Literal; }>; export type LibrariesListLibraries400 = DecodeErrorResponseEncoded; export declare const LibrariesListLibraries400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type LibrariesListLibraries404 = ProblemDetails; export declare const LibrariesListLibraries404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type LibrariesGetLibrary200 = LibraryDetail; export declare const LibrariesGetLibrary200: Schema.Struct<{ readonly library: Schema.Struct<{ readonly id: Schema.String; readonly owner: Schema.String; readonly name: Schema.String; readonly title: Schema.String; readonly description: Schema.Union; readonly visibility: Schema.Literals; readonly createdAt: Schema.decodeTo; readonly updatedAt: Schema.decodeTo; }>; readonly members: Schema.$Array; readonly extensionName: Schema.String; readonly addedAt: Schema.decodeTo; }>>; readonly accessibleMemberCount: Schema.Number; }>; export type LibrariesGetLibrary400 = DecodeErrorResponseEncoded; export declare const LibrariesGetLibrary400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type LibrariesGetLibrary404 = ProblemDetails; export declare const LibrariesGetLibrary404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type LibrariesGetLibrary422 = ProblemDetails; export declare const LibrariesGetLibrary422: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type LibrariesListLibraryMembersParams = { readonly limit?: string | null; readonly offset?: string | null; readonly q?: Union_; readonly "filter[type]"?: ExtensionType | null; }; export declare const LibrariesListLibraryMembersParams: Schema.Struct<{ readonly limit: Schema.optionalKey>; readonly offset: Schema.optionalKey>; readonly q: Schema.optionalKey>; readonly "filter[type]": Schema.optionalKey, Schema.Null]>>; }>; export type LibrariesListLibraryMembers200 = ListLibraryMembersResponse; export declare const LibrariesListLibraryMembers200: Schema.Struct<{ readonly members: Schema.$Array; readonly extensionName: Schema.String; readonly addedAt: Schema.decodeTo; }>>; readonly total: Schema.Number; readonly limit: Schema.Number; readonly offset: Schema.Number; readonly viewerRelative: Schema.Literal; }>; export type LibrariesListLibraryMembers400 = DecodeErrorResponseEncoded; export declare const LibrariesListLibraryMembers400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type LibrariesListLibraryMembers404 = ProblemDetails; export declare const LibrariesListLibraryMembers404: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type LibrariesListLibraryMembers422 = ProblemDetails; export declare const LibrariesListLibraryMembers422: Schema.Struct<{ readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>; export type DiscoveryPostDiscoveryRequestJson = { readonly client: { readonly axmVersion: string; }; readonly packages: ReadonlyArray<{ readonly purl: string; readonly version: string; readonly declaredExtensions: ReadonlyArray<{ readonly ref: ExtensionFqn; readonly versionRange?: Union_; }>; }>; }; export declare const DiscoveryPostDiscoveryRequestJson: Schema.Struct<{ readonly client: Schema.Struct<{ readonly axmVersion: Schema.String; }>; readonly packages: Schema.$Array>; }>>; }>>; }>; export type DiscoveryPostDiscovery200 = { readonly results: ReadonlyArray<{ readonly purl: string; readonly version: string; readonly status: "resolved" | "invalid_purl"; readonly extensions: ReadonlyArray<{ readonly ref: string; readonly resolved: boolean; readonly extension?: { readonly owner: string; readonly type: string; readonly name: string; readonly installVersion: string; } | null; readonly attestedBy: ReadonlyArray<"package" | "extension">; readonly official: boolean; readonly packageVersionInRange: boolean; }>; }>; }; export declare const DiscoveryPostDiscovery200: Schema.Struct<{ readonly results: Schema.$Array; readonly extensions: Schema.$Array, Schema.Null]>>; readonly attestedBy: Schema.$Array>; readonly official: Schema.Boolean; readonly packageVersionInRange: Schema.Boolean; }>>; }>>; }>; export type DiscoveryPostDiscovery400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const DiscoveryPostDiscovery400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type HealthGetShallowHealth200 = { readonly status: "pass" | "warn" | "fail"; }; export declare const HealthGetShallowHealth200: Schema.Struct<{ readonly status: Schema.Literals; }>; export type HealthGetShallowHealth400 = DecodeErrorResponseEncoded; export declare const HealthGetShallowHealth400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export type SearchSearchExtensionsParams = { readonly q: string; readonly cursor?: string | null; readonly limit?: string | null; readonly type?: ExtensionType | null; readonly sort?: "relevance" | "popular" | "newest" | "updated" | "name" | null; readonly owner?: Union_; readonly package?: Union_; readonly license?: Union_; readonly lifecycle?: "all" | "active" | "deprecated" | null; readonly visibility?: "all" | "public" | "private" | null; }; export declare const SearchSearchExtensionsParams: Schema.Struct<{ readonly q: Schema.String; readonly cursor: Schema.optionalKey>; readonly limit: Schema.optionalKey>; readonly type: Schema.optionalKey, Schema.Null]>>; readonly sort: Schema.optionalKey, Schema.Null]>>; readonly owner: Schema.optionalKey>; readonly package: Schema.optionalKey>; readonly license: Schema.optionalKey>; readonly lifecycle: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.optionalKey, Schema.Null]>>; }>; export type SearchSearchExtensions200 = SearchResponse; export declare const SearchSearchExtensions200: Schema.Struct<{ readonly extensions: Schema.$Array; readonly latestVersion: Schema.String; readonly description: Schema.optionalKey>; readonly repository: Schema.optionalKey>; readonly directory: Schema.optionalKey>; }>, Schema.Null]>>; readonly license: Schema.optionalKey>; readonly authors: Schema.optionalKey>; readonly email: Schema.optionalKey>; readonly url: Schema.optionalKey>; }>>, Schema.Null]>>; readonly deprecation: Schema.Union; readonly message: Schema.String; readonly replacement: Schema.optionalKey; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>, Schema.Null]>>; }>, Schema.Struct<{ readonly deprecatedAt: Schema.decodeTo; readonly message: Schema.optionalKey>; readonly replacement: Schema.Union; readonly fqn: Schema.String; }>, Schema.Struct<{ readonly status: Schema.Literal<"unavailable">; readonly fqn: Schema.optionalKey>; }>]>; }>]>, Schema.Null]>; readonly matched_fields: Schema.optionalKey, Schema.Null]>>; readonly visibility: Schema.Literals; }>>; readonly has_more: Schema.Boolean; readonly cursor: Schema.Union; readonly total: Schema.Number; readonly total_relation: Schema.Literal<"exact">; }>; export type SearchSearchExtensions400 = ProblemDetails | DecodeErrorResponseEncoded; export declare const SearchSearchExtensions400: Schema.Union; readonly code: Schema.String; readonly details: Schema.optionalKey; readonly requiredScope: Schema.optionalKey; readonly tokenScopes: Schema.optionalKey>; readonly requiredRole: Schema.optionalKey>; }>>; }>, Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>]>; export type DebugDebugStreamParams = { readonly count?: string | null; readonly failAfter?: string | null; }; export declare const DebugDebugStreamParams: Schema.Struct<{ readonly count: Schema.optionalKey>; readonly failAfter: Schema.optionalKey>; }>; export type DebugDebugStream200Sse = { readonly id?: string; readonly event: string; readonly data: DebugStreamEventEncoded; } | { readonly id?: string; readonly event: "effect/httpapi/stream/failure"; readonly data: string; }; export declare const DebugDebugStream200Sse: Schema.Union; readonly event: Schema.String; readonly data: Schema.String; }>, Schema.Struct<{ readonly id: Schema.optional; readonly event: Schema.Literal<"effect/httpapi/stream/failure">; readonly data: Schema.String; }>]>; export type DebugDebugStream400 = DecodeErrorResponseEncoded; export declare const DebugDebugStream400: Schema.Struct<{ readonly kind: Schema.Literal<"DecodeErrorResponse">; readonly type: Schema.String; readonly title: Schema.String; readonly status: Schema.Number; readonly detail: Schema.String; readonly instance: Schema.optionalKey; readonly code: Schema.String; }>; export interface OperationConfig { /** * Whether or not the response should be included in the value returned from * an operation. * * If set to `true`, a tuple of `[A, HttpClientResponse]` will be returned, * where `A` is the success type of the operation. * * If set to `false`, only the success type of the operation will be returned. */ readonly includeResponse?: boolean | undefined; } /** * A utility type which optionally includes the response in the return result * of an operation based upon the value of the `includeResponse` configuration * option. */ export type WithOptionalResponse = Config extends { readonly includeResponse: true; } ? [A, HttpClientResponse.HttpClientResponse] : A; export declare const make: (httpClient: HttpClient.HttpClient, options?: { readonly transformClient?: ((client: HttpClient.HttpClient) => Effect.Effect) | undefined; }) => RegistryClient; export interface RegistryClient { readonly httpClient: HttpClient.HttpClient; /** * Returns service metadata and documentation entrypoints when docs are enabled. */ readonly MetaGet: (options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"MetaGet400", typeof MetaGet400.Type>>; /** * Initiate OAuth device authorization flow */ readonly AuthIssueDeviceCode: (options: { readonly payload: typeof AuthIssueDeviceCodeRequestFormUrlEncoded.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthIssueDeviceCode400", typeof AuthIssueDeviceCode400.Type> | RegistryClientError<"AuthIssueDeviceCode500", typeof AuthIssueDeviceCode500.Type>>; /** * Exchange OAuth grant for access token */ readonly AuthExchangeToken: (options: { readonly payload: typeof AuthExchangeTokenRequestFormUrlEncoded.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthExchangeToken400", typeof AuthExchangeToken400.Type>>; /** * Revoke an OAuth token (RFC 7009) */ readonly AuthRevokeOAuthToken: (options: { readonly payload: typeof AuthRevokeOAuthTokenRequestFormUrlEncoded.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRevokeOAuthToken400", typeof AuthRevokeOAuthToken400.Type>>; /** * Return authenticated user handle */ readonly AuthGetWhoami: (options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetWhoami400", typeof AuthGetWhoami400.Type> | RegistryClientError<"AuthGetWhoami401", typeof AuthGetWhoami401.Type>>; /** * Return authenticated user info */ readonly AuthGetMe: (options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetMe400", typeof AuthGetMe400.Type> | RegistryClientError<"AuthGetMe401", typeof AuthGetMe401.Type>>; /** * Poll step-up request status */ readonly AuthGetStepUpRequest: (requestId: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetStepUpRequest400", typeof AuthGetStepUpRequest400.Type> | RegistryClientError<"AuthGetStepUpRequest401", typeof AuthGetStepUpRequest401.Type> | RegistryClientError<"AuthGetStepUpRequest404", typeof AuthGetStepUpRequest404.Type> | RegistryClientError<"AuthGetStepUpRequest429", typeof AuthGetStepUpRequest429.Type>>; /** * Create an exact browser-reviewed publish authorization request */ readonly AuthCreatePublishAuthorizationRequest: (options: { readonly payload: typeof AuthCreatePublishAuthorizationRequestRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthCreatePublishAuthorizationRequest400", typeof AuthCreatePublishAuthorizationRequest400.Type>>; /** * List access tokens */ readonly TokensList: (options: { readonly params?: typeof TokensListParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TokensList400", typeof TokensList400.Type> | RegistryClientError<"TokensList401", typeof TokensList401.Type> | RegistryClientError<"TokensList403", typeof TokensList403.Type>>; /** * Create scoped access token */ readonly TokensCreate: (options: { readonly params?: typeof TokensCreateParams.Encoded | undefined; readonly payload: typeof TokensCreateRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TokensCreate400", typeof TokensCreate400.Type> | RegistryClientError<"TokensCreate401", typeof TokensCreate401.Type> | RegistryClientError<"TokensCreate403", typeof TokensCreate403.Type> | RegistryClientError<"TokensCreate404", typeof TokensCreate404.Type> | RegistryClientError<"TokensCreate409", typeof TokensCreate409.Type> | RegistryClientError<"TokensCreate410", typeof TokensCreate410.Type> | RegistryClientError<"TokensCreate422", typeof TokensCreate422.Type> | RegistryClientError<"TokensCreate429", typeof TokensCreate429.Type>>; /** * Revokes the access token identified by tokenId. */ readonly TokensDelete: (tokenId: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TokensDelete400", typeof TokensDelete400.Type> | RegistryClientError<"TokensDelete401", typeof TokensDelete401.Type> | RegistryClientError<"TokensDelete403", typeof TokensDelete403.Type>>; /** * Returns the minimal public owner summary for the provided handle. */ readonly OwnersGetOwner: (handle: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"OwnersGetOwner400", typeof OwnersGetOwner400.Type> | RegistryClientError<"OwnersGetOwner404", typeof OwnersGetOwner404.Type>>; /** * List owner extensions */ readonly ExtensionsListByOwner: (owner: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsListByOwner400", typeof ExtensionsListByOwner400.Type>>; /** * List owner extensions by type */ readonly ExtensionsListByType: (owner: string, type: string, options: { readonly params?: typeof ExtensionsListByTypeParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsListByType400", typeof ExtensionsListByType400.Type>>; /** * Get extension metadata */ readonly ExtensionsGet: (owner: string, type: string, name: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGet400", typeof ExtensionsGet400.Type> | RegistryClientError<"ExtensionsGet404", typeof ExtensionsGet404.Type>>; /** * Permanently delete a whole Extension */ readonly ExtensionsDeleteExtension: (owner: string, type: string, name: string, options: { readonly params?: typeof ExtensionsDeleteExtensionParams.Encoded | undefined; readonly payload: typeof ExtensionsDeleteExtensionRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteExtension400", typeof ExtensionsDeleteExtension400.Type> | RegistryClientError<"ExtensionsDeleteExtension401", typeof ExtensionsDeleteExtension401.Type> | RegistryClientError<"ExtensionsDeleteExtension403", typeof ExtensionsDeleteExtension403.Type> | RegistryClientError<"ExtensionsDeleteExtension404", typeof ExtensionsDeleteExtension404.Type> | RegistryClientError<"ExtensionsDeleteExtension409", typeof ExtensionsDeleteExtension409.Type> | RegistryClientError<"ExtensionsDeleteExtension410", typeof ExtensionsDeleteExtension410.Type> | RegistryClientError<"ExtensionsDeleteExtension429", typeof ExtensionsDeleteExtension429.Type>>; /** * Check whether an extension exists */ readonly ExtensionsHead: (owner: string, type: string, name: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"400", undefined> | RegistryClientError<"404", undefined> | RegistryClientError<"500", undefined>>; /** * Update extension visibility */ readonly ExtensionsUpdateVisibility: (owner: string, type: string, name: string, options: { readonly params: typeof ExtensionsUpdateVisibilityParams.Encoded; readonly payload: typeof ExtensionsUpdateVisibilityRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUpdateVisibility400", typeof ExtensionsUpdateVisibility400.Type> | RegistryClientError<"ExtensionsUpdateVisibility401", typeof ExtensionsUpdateVisibility401.Type> | RegistryClientError<"ExtensionsUpdateVisibility403", typeof ExtensionsUpdateVisibility403.Type> | RegistryClientError<"ExtensionsUpdateVisibility404", typeof ExtensionsUpdateVisibility404.Type> | RegistryClientError<"ExtensionsUpdateVisibility409", typeof ExtensionsUpdateVisibility409.Type> | RegistryClientError<"ExtensionsUpdateVisibility410", typeof ExtensionsUpdateVisibility410.Type> | RegistryClientError<"ExtensionsUpdateVisibility412", typeof ExtensionsUpdateVisibility412.Type> | RegistryClientError<"ExtensionsUpdateVisibility429", typeof ExtensionsUpdateVisibility429.Type>>; /** * Get an exact extension version */ readonly ExtensionsGetVersion: (owner: string, type: string, name: string, version: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVersion400", typeof ExtensionsGetVersion400.Type> | RegistryClientError<"ExtensionsGetVersion404", typeof ExtensionsGetVersion404.Type> | RegistryClientError<"ExtensionsGetVersion410", typeof ExtensionsGetVersion410.Type>>; /** * Publish extension version */ readonly ExtensionsPublishVersion: (owner: string, type: string, name: string, version: string, options: { readonly params: typeof ExtensionsPublishVersionParams.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsPublishVersion400", typeof ExtensionsPublishVersion400.Type> | RegistryClientError<"ExtensionsPublishVersion401", typeof ExtensionsPublishVersion401.Type> | RegistryClientError<"ExtensionsPublishVersion403", typeof ExtensionsPublishVersion403.Type> | RegistryClientError<"ExtensionsPublishVersion404", typeof ExtensionsPublishVersion404.Type> | RegistryClientError<"ExtensionsPublishVersion409", typeof ExtensionsPublishVersion409.Type> | RegistryClientError<"ExtensionsPublishVersion412", typeof ExtensionsPublishVersion412.Type> | RegistryClientError<"ExtensionsPublishVersion413", typeof ExtensionsPublishVersion413.Type> | RegistryClientError<"ExtensionsPublishVersion415", typeof ExtensionsPublishVersion415.Type> | RegistryClientError<"ExtensionsPublishVersion422", typeof ExtensionsPublishVersion422.Type> | RegistryClientError<"ExtensionsPublishVersion429", typeof ExtensionsPublishVersion429.Type> | RegistryClientError<"ExtensionsPublishVersion500", typeof ExtensionsPublishVersion500.Type> | RegistryClientError<"ExtensionsPublishVersion503", typeof ExtensionsPublishVersion503.Type>>; /** * Get Extension deletion operation status */ readonly ExtensionsGetDeletionOperation: (operationId: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionOperation400", typeof ExtensionsGetDeletionOperation400.Type> | RegistryClientError<"ExtensionsGetDeletionOperation401", typeof ExtensionsGetDeletionOperation401.Type> | RegistryClientError<"ExtensionsGetDeletionOperation403", typeof ExtensionsGetDeletionOperation403.Type> | RegistryClientError<"ExtensionsGetDeletionOperation404", typeof ExtensionsGetDeletionOperation404.Type>>; /** * Download extension archive */ readonly ExtensionsDownloadArchive: (owner: string, type: string, name: string, version: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDownloadArchive400", typeof ExtensionsDownloadArchive400.Type> | RegistryClientError<"ExtensionsDownloadArchive404", typeof ExtensionsDownloadArchive404.Type> | RegistryClientError<"ExtensionsDownloadArchive500", typeof ExtensionsDownloadArchive500.Type>>; /** * Download extension archive */ readonly ExtensionsDownloadArchiveStream: (owner: string, type: string, name: string, version: string) => Stream.Stream; /** * Inspect extension archive metadata */ readonly ExtensionsHeadArchive: (owner: string, type: string, name: string, version: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"400", undefined> | RegistryClientError<"404", undefined> | RegistryClientError<"500", undefined>>; /** * Evaluate extension visibility */ readonly ExtensionsGetVisibility: (owner: string, type: string, name: string, options: { readonly params?: typeof ExtensionsGetVisibilityParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVisibility400", typeof ExtensionsGetVisibility400.Type> | RegistryClientError<"ExtensionsGetVisibility401", typeof ExtensionsGetVisibility401.Type> | RegistryClientError<"ExtensionsGetVisibility403", typeof ExtensionsGetVisibility403.Type> | RegistryClientError<"ExtensionsGetVisibility404", typeof ExtensionsGetVisibility404.Type>>; /** * Get extension deprecation */ readonly ExtensionsGetDeprecation: (owner: string, type: string, name: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeprecation400", typeof ExtensionsGetDeprecation400.Type> | RegistryClientError<"ExtensionsGetDeprecation401", typeof ExtensionsGetDeprecation401.Type> | RegistryClientError<"ExtensionsGetDeprecation403", typeof ExtensionsGetDeprecation403.Type> | RegistryClientError<"ExtensionsGetDeprecation404", typeof ExtensionsGetDeprecation404.Type>>; /** * Create or edit extension deprecation */ readonly ExtensionsPutDeprecation: (owner: string, type: string, name: string, options: { readonly params: typeof ExtensionsPutDeprecationParams.Encoded; readonly payload: typeof ExtensionsPutDeprecationRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsPutDeprecation400", typeof ExtensionsPutDeprecation400.Type> | RegistryClientError<"ExtensionsPutDeprecation401", typeof ExtensionsPutDeprecation401.Type> | RegistryClientError<"ExtensionsPutDeprecation403", typeof ExtensionsPutDeprecation403.Type> | RegistryClientError<"ExtensionsPutDeprecation404", typeof ExtensionsPutDeprecation404.Type> | RegistryClientError<"ExtensionsPutDeprecation409", typeof ExtensionsPutDeprecation409.Type> | RegistryClientError<"ExtensionsPutDeprecation412", typeof ExtensionsPutDeprecation412.Type>>; /** * Restore a deprecated extension */ readonly ExtensionsDeleteDeprecation: (owner: string, type: string, name: string, options: { readonly params: typeof ExtensionsDeleteDeprecationParams.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteDeprecation400", typeof ExtensionsDeleteDeprecation400.Type> | RegistryClientError<"ExtensionsDeleteDeprecation401", typeof ExtensionsDeleteDeprecation401.Type> | RegistryClientError<"ExtensionsDeleteDeprecation403", typeof ExtensionsDeleteDeprecation403.Type> | RegistryClientError<"ExtensionsDeleteDeprecation404", typeof ExtensionsDeleteDeprecation404.Type> | RegistryClientError<"ExtensionsDeleteDeprecation409", typeof ExtensionsDeleteDeprecation409.Type> | RegistryClientError<"ExtensionsDeleteDeprecation412", typeof ExtensionsDeleteDeprecation412.Type>>; /** * Yank an extension version */ readonly ExtensionsYankVersion: (owner: string, type: string, name: string, version: string, options: { readonly params?: typeof ExtensionsYankVersionParams.Encoded | undefined; readonly payload: typeof ExtensionsYankVersionRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankVersion400", typeof ExtensionsYankVersion400.Type> | RegistryClientError<"ExtensionsYankVersion401", typeof ExtensionsYankVersion401.Type> | RegistryClientError<"ExtensionsYankVersion403", typeof ExtensionsYankVersion403.Type> | RegistryClientError<"ExtensionsYankVersion404", typeof ExtensionsYankVersion404.Type> | RegistryClientError<"ExtensionsYankVersion409", typeof ExtensionsYankVersion409.Type> | RegistryClientError<"ExtensionsYankVersion410", typeof ExtensionsYankVersion410.Type> | RegistryClientError<"ExtensionsYankVersion429", typeof ExtensionsYankVersion429.Type>>; /** * Un-yank an extension version */ readonly ExtensionsUnyankVersion: (owner: string, type: string, name: string, version: string, options: { readonly params?: typeof ExtensionsUnyankVersionParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUnyankVersion400", typeof ExtensionsUnyankVersion400.Type> | RegistryClientError<"ExtensionsUnyankVersion401", typeof ExtensionsUnyankVersion401.Type> | RegistryClientError<"ExtensionsUnyankVersion403", typeof ExtensionsUnyankVersion403.Type> | RegistryClientError<"ExtensionsUnyankVersion404", typeof ExtensionsUnyankVersion404.Type> | RegistryClientError<"ExtensionsUnyankVersion409", typeof ExtensionsUnyankVersion409.Type> | RegistryClientError<"ExtensionsUnyankVersion410", typeof ExtensionsUnyankVersion410.Type> | RegistryClientError<"ExtensionsUnyankVersion429", typeof ExtensionsUnyankVersion429.Type>>; /** * Yank all currently available extension versions */ readonly ExtensionsYankAvailableVersions: (owner: string, type: string, name: string, options: { readonly params?: typeof ExtensionsYankAvailableVersionsParams.Encoded | undefined; readonly payload: typeof ExtensionsYankAvailableVersionsRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankAvailableVersions400", typeof ExtensionsYankAvailableVersions400.Type> | RegistryClientError<"ExtensionsYankAvailableVersions401", typeof ExtensionsYankAvailableVersions401.Type> | RegistryClientError<"ExtensionsYankAvailableVersions403", typeof ExtensionsYankAvailableVersions403.Type> | RegistryClientError<"ExtensionsYankAvailableVersions404", typeof ExtensionsYankAvailableVersions404.Type> | RegistryClientError<"ExtensionsYankAvailableVersions409", typeof ExtensionsYankAvailableVersions409.Type> | RegistryClientError<"ExtensionsYankAvailableVersions410", typeof ExtensionsYankAvailableVersions410.Type> | RegistryClientError<"ExtensionsYankAvailableVersions429", typeof ExtensionsYankAvailableVersions429.Type>>; /** * Preview permanent Extension deletion impact */ readonly ExtensionsGetDeletionPreview: (owner: string, type: string, name: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionPreview400", typeof ExtensionsGetDeletionPreview400.Type> | RegistryClientError<"ExtensionsGetDeletionPreview401", typeof ExtensionsGetDeletionPreview401.Type> | RegistryClientError<"ExtensionsGetDeletionPreview403", typeof ExtensionsGetDeletionPreview403.Type> | RegistryClientError<"ExtensionsGetDeletionPreview404", typeof ExtensionsGetDeletionPreview404.Type>>; /** * Preview a complete publication set */ readonly PublishPreviewsPreviewExtensionPublishes: (options: { readonly payload: typeof PublishPreviewsPreviewExtensionPublishesRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"PublishPreviewsPreviewExtensionPublishes400", typeof PublishPreviewsPreviewExtensionPublishes400.Type> | RegistryClientError<"PublishPreviewsPreviewExtensionPublishes401", typeof PublishPreviewsPreviewExtensionPublishes401.Type> | RegistryClientError<"PublishPreviewsPreviewExtensionPublishes403", typeof PublishPreviewsPreviewExtensionPublishes403.Type> | RegistryClientError<"PublishPreviewsPreviewExtensionPublishes413", typeof PublishPreviewsPreviewExtensionPublishes413.Type> | RegistryClientError<"PublishPreviewsPreviewExtensionPublishes503", typeof PublishPreviewsPreviewExtensionPublishes503.Type>>; /** * List owner Libraries */ readonly LibrariesListLibraries: (owner: string, options: { readonly params?: typeof LibrariesListLibrariesParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraries400", typeof LibrariesListLibraries400.Type> | RegistryClientError<"LibrariesListLibraries404", typeof LibrariesListLibraries404.Type>>; /** * Get a Library */ readonly LibrariesGetLibrary: (owner: string, name: string, options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesGetLibrary400", typeof LibrariesGetLibrary400.Type> | RegistryClientError<"LibrariesGetLibrary404", typeof LibrariesGetLibrary404.Type> | RegistryClientError<"LibrariesGetLibrary422", typeof LibrariesGetLibrary422.Type>>; /** * List viewer-visible Library members */ readonly LibrariesListLibraryMembers: (owner: string, name: string, options: { readonly params?: typeof LibrariesListLibraryMembersParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraryMembers400", typeof LibrariesListLibraryMembers400.Type> | RegistryClientError<"LibrariesListLibraryMembers404", typeof LibrariesListLibraryMembers404.Type> | RegistryClientError<"LibrariesListLibraryMembers422", typeof LibrariesListLibraryMembers422.Type>>; /** * Persists submitted package metadata and resolves package and extension attestations. */ readonly DiscoveryPostDiscovery: (options: { readonly payload: typeof DiscoveryPostDiscoveryRequestJson.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"DiscoveryPostDiscovery400", typeof DiscoveryPostDiscovery400.Type>>; /** * Returns pass/fail status. Public, no auth required. */ readonly HealthGetShallowHealth: (options: { readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"HealthGetShallowHealth400", typeof HealthGetShallowHealth400.Type>>; /** * Returns viewer-visible, available, non-yanked extensions using predictable textual relevance by default. Supports structured type, owner, package, license, lifecycle, visibility, and sort filters. */ readonly SearchSearchExtensions: (options: { readonly params: typeof SearchSearchExtensionsParams.Encoded; readonly config?: Config | undefined; }) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"SearchSearchExtensions400", typeof SearchSearchExtensions400.Type>>; /** * Experimental diagnostic endpoint. Emits a finite server-sent event stream of sequenced JSON events, optionally terminating with a typed mid-stream failure. Intended for client streaming conformance checks; not a stable product surface. */ readonly DebugDebugStream: (options: { readonly params?: typeof DebugDebugStreamParams.Encoded | undefined; readonly config?: Config | undefined; } | undefined) => Effect.Effect, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"DebugDebugStream400", typeof DebugDebugStream400.Type>>; /** * Experimental diagnostic endpoint. Emits a finite server-sent event stream of sequenced JSON events, optionally terminating with a typed mid-stream failure. Intended for client streaming conformance checks; not a stable product surface. */ readonly DebugDebugStreamSse: (options: { readonly params?: typeof DebugDebugStreamParams.Encoded | undefined; } | undefined) => Stream.Stream; } export interface RegistryClientError { readonly _tag: Tag; readonly request: HttpClientRequest.HttpClientRequest; readonly response: HttpClientResponse.HttpClientResponse; readonly cause: E; } export declare const RegistryClientError: (tag: Tag, cause: E, response: HttpClientResponse.HttpClientResponse) => RegistryClientError; //# sourceMappingURL=registry-client.d.ts.map