import type { SandboxConfig } from "../sandbox/index.js"; export declare function normalizeSharedVaultName(name: string): string | undefined; export declare function sharedVaultKey(name: string): string | undefined; export type { ResolvedVault, VaultManager } from "./types.js"; import type { ResolvedVault, VaultManager } from "./types.js"; /** * Parse a KEY=VALUE env file. Supports: * - Lines starting with # are comments * - Empty lines are skipped * - Values can be quoted with single or double quotes (quotes are stripped) * - No variable expansion * - The value is everything after the first `=` to end of line (no inline comments) */ export declare function parseEnvFile(content: string): Record; export declare class FileVaultManager implements VaultManager { private readonly vaultsDir; constructor(stateDir: string); isEnabled(): boolean; hasEntry(key: string): boolean; listSharedVaults(): string[]; deleteSharedVault(name: string): boolean; copySharedVaultTo(name: string, targetKey: string): { filesCopied: number; envKeysCopied: number; }; resolve(userId: string): ResolvedVault | undefined; getSandboxConfig(userId: string, baseConfig: SandboxConfig): SandboxConfig; list(): ResolvedVault[]; upsertEnv(key: string, env: Record): void; upsertFile(key: string, relativePath: string, content: string, targetPath?: string): void; private buildResolved; } export declare function defaultVaultTargetPath(relativePath: string): string; //# sourceMappingURL=index.d.ts.map