/**
 * https://docs.github.com/en/rest/actions/secrets#create-or-update-an-organization-secret
 * https://docs.github.com/en/rest/actions/secrets#create-or-update-a-repository-secret
 * https://docs.github.com/en/rest/actions/secrets#create-or-update-an-environment-secret
 *
 * @param secret 'plain-text-secret' - replace with the secret you want to encrypt
 * @param key 'base64-encoded-public-key' - replace with the Base64 encoded public key
 */
export declare const encrypt: (secret: string, key: string) => Promise<string>;
