import { type Static, Type } from "typebox"; import { type CredentialManager, type CredentialProfileSummary } from "../secrets/credential-manager.ts"; import { type CredentialMigrationSourceResolver } from "../secrets/credential-migration-source.ts"; import { type CredentialMigrationSourceCandidate, type CredentialMigrationSourceDiscoverer } from "../secrets/credential-source-discovery.ts"; declare const secretStoreSchema: Type.TObject<{ action: Type.TUnion<[Type.TLiteral<"status">, Type.TLiteral<"list">, Type.TLiteral<"discover">, Type.TLiteral<"activate">, Type.TLiteral<"migrate">]>; profile: Type.TOptional; description: Type.TOptional; overwrite: Type.TOptional; sources: Type.TOptional; name: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"dotenv_file">; path: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"file">; path: Type.TString; variable: Type.TString; }>]>>>; }>; export type SecretStoreToolInput = Static; export type SecretStoreStatus = "activated" | "available" | "cancelled" | "discovered" | "error" | "listed" | "migrated" | "unavailable"; export interface SecretStoreToolDetails { action: SecretStoreToolInput["action"]; status: SecretStoreStatus; profile?: string; variableNames?: string[]; profiles?: CredentialProfileSummary[]; project?: string; connected?: boolean; sources?: CredentialMigrationSourceCandidate[]; skipped?: number; truncated?: boolean; code?: string; message?: string; sourceRetained?: boolean; } export interface SecretStoreToolOptions { manager: CredentialManager; resolveMigrationSources?: CredentialMigrationSourceResolver; discoverMigrationSources?: CredentialMigrationSourceDiscoverer; } export declare function createSecretStoreToolDefinition(options: SecretStoreToolOptions): import("../extensions/types.ts").ToolDefinition, Type.TLiteral<"list">, Type.TLiteral<"discover">, Type.TLiteral<"activate">, Type.TLiteral<"migrate">]>; profile: Type.TOptional; description: Type.TOptional; overwrite: Type.TOptional; sources: Type.TOptional; name: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"dotenv_file">; path: Type.TString; }>, Type.TObject<{ kind: Type.TLiteral<"file">; path: Type.TString; variable: Type.TString; }>]>>>; }>, SecretStoreToolDetails, any> & import("../extensions/types.ts").ToolDefinition; export {}; //# sourceMappingURL=secret-store.d.ts.map