import type { H3Event } from "h3"; import { type SecretScope } from "../secrets/register.js"; export type ScopedKeySaveRequestScope = "app" | "auto" | "org" | "user" | "workspace" | undefined; export interface ScopedKeyValue { key: string; value: string; } export interface ScopedKeySaveRow { key: string; scope: SecretScope; scopeId: string; } export declare class ScopedKeyStorageError extends Error { readonly statusCode: number; constructor(statusCode: number, message: string); } export declare function findUnsupportedScopedKeyNames(vars: unknown, allowedKeys: Iterable): string[]; export declare function saveKeyValuesToScopedSecrets(event: H3Event, vars: unknown, requestedScope?: ScopedKeySaveRequestScope): Promise<{ saved: string[]; rows: ScopedKeySaveRow[]; }>; //# sourceMappingURL=scoped-key-storage.d.ts.map