import { z } from "zod"; export declare const envBindingPlainSchema: z.ZodObject<{ type: z.ZodLiteral<"plain">; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>; export declare const envBindingSecretRefSchema: z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>; export declare const envBindingSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{ type: z.ZodLiteral<"plain">; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>; export declare const envConfigSchema: z.ZodRecord; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: "plain"; }, { value: string; type: "plain"; }>, z.ZodObject<{ type: z.ZodLiteral<"secret_ref">; secretId: z.ZodString; version: z.ZodOptional, z.ZodNumber]>>; }, "strip", z.ZodTypeAny, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }, { secretId: string; type: "secret_ref"; version?: number | "latest" | undefined; }>]>>; export declare const createSecretSchema: z.ZodEffects; provider: z.ZodOptional>; providerConfigId: z.ZodNullable>; managedMode: z.ZodOptional>; value: z.ZodNullable>; description: z.ZodNullable>; externalRef: z.ZodNullable>; providerMetadata: z.ZodNullable>>; providerVersionRef: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; description?: string | null | undefined; key?: string | undefined; provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined; value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; managedMode?: "paperclip_managed" | "external_reference" | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }, { name: string; description?: string | null | undefined; key?: string | undefined; provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined; value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; managedMode?: "paperclip_managed" | "external_reference" | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }>, { name: string; description?: string | null | undefined; key?: string | undefined; provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined; value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; managedMode?: "paperclip_managed" | "external_reference" | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }, { name: string; description?: string | null | undefined; key?: string | undefined; provider?: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault" | undefined; value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; managedMode?: "paperclip_managed" | "external_reference" | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }>; export type CreateSecret = z.infer; export declare const rotateSecretSchema: z.ZodObject<{ value: z.ZodNullable>; externalRef: z.ZodNullable>; providerVersionRef: z.ZodNullable>; providerConfigId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; providerVersionRef?: string | null | undefined; }, { value?: string | null | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; providerVersionRef?: string | null | undefined; }>; export type RotateSecret = z.infer; export declare const updateSecretSchema: z.ZodObject<{ name: z.ZodOptional; key: z.ZodOptional; status: z.ZodOptional>; providerConfigId: z.ZodNullable>; description: z.ZodNullable>; externalRef: z.ZodNullable>; providerMetadata: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { description?: string | null | undefined; status?: "active" | "archived" | "disabled" | "deleted" | undefined; name?: string | undefined; key?: string | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; providerMetadata?: Record | null | undefined; }, { description?: string | null | undefined; status?: "active" | "archived" | "disabled" | "deleted" | undefined; name?: string | undefined; key?: string | undefined; externalRef?: string | null | undefined; providerConfigId?: string | null | undefined; providerMetadata?: Record | null | undefined; }>; export type UpdateSecret = z.infer; export declare const secretBindingTargetSchema: z.ZodObject<{ targetType: z.ZodEnum<["agent", "project", "environment", "routine", "plugin", "issue", "run", "system"]>; targetId: z.ZodString; configPath: z.ZodString; }, "strip", z.ZodTypeAny, { targetType: "agent" | "system" | "plugin" | "project" | "environment" | "routine" | "issue" | "run"; targetId: string; configPath: string; }, { targetType: "agent" | "system" | "plugin" | "project" | "environment" | "routine" | "issue" | "run"; targetId: string; configPath: string; }>; export declare const createSecretBindingSchema: z.ZodObject<{ targetType: z.ZodEnum<["agent", "project", "environment", "routine", "plugin", "issue", "run", "system"]>; targetId: z.ZodString; configPath: z.ZodString; } & { secretId: z.ZodString; versionSelector: z.ZodDefault, z.ZodNumber]>>; required: z.ZodDefault; label: z.ZodNullable>; }, "strip", z.ZodTypeAny, { secretId: string; required: boolean; targetType: "agent" | "system" | "plugin" | "project" | "environment" | "routine" | "issue" | "run"; targetId: string; configPath: string; versionSelector: number | "latest"; label?: string | null | undefined; }, { secretId: string; targetType: "agent" | "system" | "plugin" | "project" | "environment" | "routine" | "issue" | "run"; targetId: string; configPath: string; label?: string | null | undefined; required?: boolean | undefined; versionSelector?: number | "latest" | undefined; }>; export type CreateSecretBinding = z.infer; export declare const localEncryptedProviderConfigSchema: z.ZodObject<{ backupReminderAcknowledged: z.ZodOptional; }, "strict", z.ZodTypeAny, { backupReminderAcknowledged?: boolean | undefined; }, { backupReminderAcknowledged?: boolean | undefined; }>; export declare const awsSecretsManagerProviderConfigSchema: z.ZodObject<{ region: z.ZodString; namespace: z.ZodNullable>; secretNamePrefix: z.ZodNullable>; kmsKeyId: z.ZodNullable>; ownerTag: z.ZodNullable>; environmentTag: z.ZodNullable>; }, "strict", z.ZodTypeAny, { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }, { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }>; export declare const gcpSecretManagerProviderConfigSchema: z.ZodObject<{ projectId: z.ZodNullable>; location: z.ZodNullable>; namespace: z.ZodNullable>; secretNamePrefix: z.ZodNullable>; }, "strict", z.ZodTypeAny, { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }, { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }>; export declare const vaultProviderConfigSchema: z.ZodObject<{ address: z.ZodNullable, string, string>, string, unknown>>>; namespace: z.ZodNullable>; mountPath: z.ZodNullable>; secretPathPrefix: z.ZodNullable>; }, "strict", z.ZodTypeAny, { namespace?: string | null | undefined; address?: string | null | undefined; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }, { namespace?: string | null | undefined; address?: unknown; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }>; export declare const secretProviderConfigPayloadSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{ provider: z.ZodLiteral<"local_encrypted">; config: z.ZodObject<{ backupReminderAcknowledged: z.ZodOptional; }, "strict", z.ZodTypeAny, { backupReminderAcknowledged?: boolean | undefined; }, { backupReminderAcknowledged?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { provider: "local_encrypted"; config: { backupReminderAcknowledged?: boolean | undefined; }; }, { provider: "local_encrypted"; config: { backupReminderAcknowledged?: boolean | undefined; }; }>, z.ZodObject<{ provider: z.ZodLiteral<"aws_secrets_manager">; config: z.ZodObject<{ region: z.ZodString; namespace: z.ZodNullable>; secretNamePrefix: z.ZodNullable>; kmsKeyId: z.ZodNullable>; ownerTag: z.ZodNullable>; environmentTag: z.ZodNullable>; }, "strict", z.ZodTypeAny, { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }, { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { provider: "aws_secrets_manager"; config: { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }; }, { provider: "aws_secrets_manager"; config: { region: string; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; kmsKeyId?: string | null | undefined; ownerTag?: string | null | undefined; environmentTag?: string | null | undefined; }; }>, z.ZodObject<{ provider: z.ZodLiteral<"gcp_secret_manager">; config: z.ZodObject<{ projectId: z.ZodNullable>; location: z.ZodNullable>; namespace: z.ZodNullable>; secretNamePrefix: z.ZodNullable>; }, "strict", z.ZodTypeAny, { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }, { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { provider: "gcp_secret_manager"; config: { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }; }, { provider: "gcp_secret_manager"; config: { projectId?: string | null | undefined; namespace?: string | null | undefined; secretNamePrefix?: string | null | undefined; location?: string | null | undefined; }; }>, z.ZodObject<{ provider: z.ZodLiteral<"vault">; config: z.ZodObject<{ address: z.ZodNullable, string, string>, string, unknown>>>; namespace: z.ZodNullable>; mountPath: z.ZodNullable>; secretPathPrefix: z.ZodNullable>; }, "strict", z.ZodTypeAny, { namespace?: string | null | undefined; address?: string | null | undefined; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }, { namespace?: string | null | undefined; address?: unknown; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { provider: "vault"; config: { namespace?: string | null | undefined; address?: string | null | undefined; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }; }, { provider: "vault"; config: { namespace?: string | null | undefined; address?: unknown; mountPath?: string | null | undefined; secretPathPrefix?: string | null | undefined; }; }>]>; export declare const createSecretProviderConfigSchema: z.ZodEffects; displayName: z.ZodString; status: z.ZodOptional>; isDefault: z.ZodOptional; config: z.ZodDefault>; }, "strip", z.ZodTypeAny, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; config: Record; displayName: string; status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; isDefault?: boolean | undefined; }, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; displayName: string; status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; isDefault?: boolean | undefined; }>, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; config: Record; displayName: string; status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; isDefault?: boolean | undefined; }, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; displayName: string; status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; isDefault?: boolean | undefined; }>; export type CreateSecretProviderConfig = z.infer; export declare const updateSecretProviderConfigSchema: z.ZodEffects; status: z.ZodOptional>; isDefault: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; displayName?: string | undefined; isDefault?: boolean | undefined; }, { status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; displayName?: string | undefined; isDefault?: boolean | undefined; }>, { status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; displayName?: string | undefined; isDefault?: boolean | undefined; }, { status?: "warning" | "ready" | "coming_soon" | "disabled" | undefined; config?: Record | undefined; displayName?: string | undefined; isDefault?: boolean | undefined; }>; export type UpdateSecretProviderConfig = z.infer; export declare const remoteSecretImportPreviewSchema: z.ZodObject<{ providerConfigId: z.ZodString; query: z.ZodNullable>; nextToken: z.ZodNullable>; pageSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { providerConfigId: string; query?: string | null | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }, { providerConfigId: string; query?: string | null | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }>; export type RemoteSecretImportPreview = z.infer; export declare const secretProviderConfigDiscoveryPreviewSchema: z.ZodEffects; config: z.ZodDefault>; query: z.ZodNullable>; nextToken: z.ZodNullable>; pageSize: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; config: Record; query?: string | null | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; query?: string | null | undefined; config?: Record | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }>, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; config: Record; query?: string | null | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }, { provider: "local_encrypted" | "aws_secrets_manager" | "gcp_secret_manager" | "vault"; query?: string | null | undefined; config?: Record | undefined; nextToken?: string | null | undefined; pageSize?: number | undefined; }>; export type SecretProviderConfigDiscoveryPreview = z.infer; export declare const remoteSecretImportSelectionSchema: z.ZodObject<{ externalRef: z.ZodString; name: z.ZodNullable>; key: z.ZodNullable>; description: z.ZodNullable>; providerVersionRef: z.ZodNullable>; providerMetadata: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }, { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }>; export declare const remoteSecretImportSchema: z.ZodObject<{ providerConfigId: z.ZodString; secrets: z.ZodArray>; key: z.ZodNullable>; description: z.ZodNullable>; providerVersionRef: z.ZodNullable>; providerMetadata: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }, { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { secrets: { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }[]; providerConfigId: string; }, { secrets: { externalRef: string; description?: string | null | undefined; name?: string | null | undefined; key?: string | null | undefined; providerMetadata?: Record | null | undefined; providerVersionRef?: string | null | undefined; }[]; providerConfigId: string; }>; export type RemoteSecretImportSelection = z.infer; export type RemoteSecretImport = z.infer; //# sourceMappingURL=secret.d.ts.map