import { SecretClient } from "@azure/keyvault-secrets";
export interface HsmSecretFile {
    secretFilePath: string;
    cleanup: () => Promise<void>;
}
export declare function getSecretClient(): Promise<SecretClient>;
export interface HsmCertificateFile {
    secretFilePath: string;
    cleanup: () => Promise<void>;
}
export declare function downloadCertificateFile(secretName: string, { postfix, filePath }: {
    postfix?: string;
    filePath?: string;
}): Promise<HsmSecretFile>;
export declare function getSecret(secretName: string): Promise<string>;
