import * as k8s from '@kubernetes/client-node'; import { BaseResourceOperations, ResourceOperationOptions, WatchCallback } from '../BaseResourceOperations.js'; import { KubernetesClient } from '../KubernetesClient.js'; /** * Secret types */ export declare enum SecretType { OPAQUE = "Opaque", SERVICE_ACCOUNT_TOKEN = "kubernetes.io/service-account-token", DOCKER_CONFIG = "kubernetes.io/dockercfg", DOCKER_CONFIG_JSON = "kubernetes.io/dockerconfigjson", BASIC_AUTH = "kubernetes.io/basic-auth", SSH_AUTH = "kubernetes.io/ssh-auth", TLS = "kubernetes.io/tls" } /** * Secret operations implementation */ export declare class SecretOperations extends BaseResourceOperations { constructor(client: KubernetesClient); /** * Create a new Secret */ create(_secret: k8s.V1Secret, _options?: ResourceOperationOptions): Promise; /** * Get a Secret by name */ get(name: string, options?: ResourceOperationOptions): Promise; /** * Update a Secret */ update(_secret: k8s.V1Secret, _options?: ResourceOperationOptions): Promise; /** * Patch a Secret */ patch(_name: string, _patch: unknown, _options?: ResourceOperationOptions): Promise; /** * Delete a Secret */ delete(_name: string, _options?: ResourceOperationOptions): Promise; /** * List Secrets */ list(options?: ResourceOperationOptions): Promise; /** * Watch Secrets for changes */ watch(callback: WatchCallback, options?: ResourceOperationOptions): () => void; /** * Get decoded Secret data */ getDecodedData(name: string, options?: ResourceOperationOptions): Promise<{ [key: string]: string; } | undefined>; /** * Get a specific decoded value from a Secret */ getDecodedValue(name: string, key: string, options?: ResourceOperationOptions): Promise; /** * Get a secret with MCP tool-friendly formatting */ getFormatted(name: string, options?: ResourceOperationOptions): Promise<{ resourceType: string; metadata: any; type: string; dataKeys: string[]; stringDataKeys: string[]; }>; private formatResourceMetadata; } //# sourceMappingURL=SecretOperations.d.ts.map