export interface WebhookSecretRecord {
    ref: string;
    alg: 'aes-256-gcm';
    iv: string;
    tag: string;
    ciphertext: string;
    createdAt: string;
    updatedAt: string;
}
export declare function createWebhookSecret(plaintext: string, dataDir?: string): WebhookSecretRecord;
export declare function generateWebhookSecretPlaintext(): string;
export declare function setWebhookSecret(ref: string, plaintext: string, dataDir?: string): WebhookSecretRecord;
export declare function getWebhookSecret(ref: string, dataDir?: string): string | null;
export declare function deleteWebhookSecret(ref: string, dataDir?: string): boolean;
export declare function listWebhookSecretRefs(dataDir?: string): Array<Omit<WebhookSecretRecord, 'iv' | 'tag' | 'ciphertext'>>;
//# sourceMappingURL=webhook-key.d.ts.map