import { J as Json, S as SdkModule } from '../../module-Bq-w9Ws5.js'; import 'graphql-request'; type VaultStatus = 'ACTIVE' | 'LOCKED' | 'ARCHIVED' | 'DELETED'; type VaultScope = 'WORKSPACE' | 'PROJECT' | 'USER'; interface Vault { id: string; name: string; description?: string | null; scope: VaultScope; scopeId?: string | null; status: VaultStatus; lockAfterMinutes?: number | null; createdAt: string; updatedAt?: string | null; } interface VaultList { items: Vault[]; total: number; hasMore: boolean; } interface VaultFilterInput { scope?: VaultScope; status?: VaultStatus; search?: string; } interface CreateVaultInput { name: string; scope: VaultScope; scopeId?: string; description?: string; lockAfterMinutes?: number; } interface UpdateVaultInput { name?: string; description?: string; status?: VaultStatus; lockAfterMinutes?: number; } interface SecurityPaginationInput { limit?: number; offset?: number; } type SecretStatus = 'ACTIVE' | 'EXPIRED' | 'REVOKED' | 'ROTATING'; type SecretType = 'STRING' | 'JSON' | 'KEY_VALUE' | 'CERTIFICATE'; interface Secret { id: string; vaultId?: string | null; key: string; name?: string | null; description?: string | null; type: SecretType; status: SecretStatus; isEphemeral?: boolean | null; expiresAt?: string | null; createdAt: string; updatedAt?: string | null; } interface SecretList { items: Secret[]; total: number; hasMore: boolean; } interface SecretFilterInput { type?: SecretType; status?: SecretStatus; search?: string; } interface CreateSecretInput { vaultId: string; key: string; name?: string; value: string; type?: SecretType; description?: string; expiresAt?: string; metadata?: Json; } interface UpdateSecretInput { name?: string; value?: string; description?: string; status?: SecretStatus; expiresAt?: string; metadata?: Json; } interface SecretsApi { list(vaultId: string, filter?: SecretFilterInput, pagination?: SecurityPaginationInput): Promise; get(id: string): Promise; set(input: CreateSecretInput): Promise; update(id: string, input: UpdateSecretInput): Promise; delete(id: string): Promise; } interface VaultsApi { list(filter?: VaultFilterInput, pagination?: SecurityPaginationInput): Promise; get(id: string): Promise; create(input: CreateVaultInput): Promise; update(id: string, input: UpdateVaultInput): Promise; delete(id: string): Promise; } interface SecurityApi { vaults: VaultsApi; secrets: SecretsApi; } declare const securityModule: SdkModule; export { type CreateSecretInput, type CreateVaultInput, type Secret, type SecretFilterInput, type SecretList, type SecretStatus, type SecretType, type SecretsApi, type SecurityApi, type SecurityPaginationInput, type UpdateSecretInput, type UpdateVaultInput, type Vault, type VaultFilterInput, type VaultList, type VaultScope, type VaultStatus, type VaultsApi, securityModule as default };