export type FigmaVaultKeySource = "env" | "keychain" | "keyfile";
export interface ResolvedFigmaVaultKey {
    readonly key: Buffer;
    readonly source: FigmaVaultKeySource;
}
export type FigmaKeychainAccess = () => Buffer | undefined;
export interface FigmaTokenStore {
    readonly store: (token: string) => void;
    readonly read: () => string | undefined;
    readonly revoke: () => void;
}
export interface FigmaTokenStoreDeps {
    readonly key: Buffer;
    readonly storePath: string;
}
export declare const NO_FIGMA_KEYCHAIN: FigmaKeychainAccess;
export declare function resolveFigmaVaultKey(env: Readonly<Record<string, string | undefined>>, vaultDir: string, keychainAccess?: FigmaKeychainAccess): ResolvedFigmaVaultKey;
export declare function createFigmaTokenStore(deps: FigmaTokenStoreDeps): FigmaTokenStore;
//# sourceMappingURL=figmaTokenStore.d.ts.map