import { PollyConfig } from '@pollyjs/core'; export type Secrets = Record | (string | undefined)[]; interface PollyConfigWithSecrets extends PollyConfig { /** * Secrets to filter out before persisting the recording. * * Format: * * ```ts * secrets: { * 'my secret data': 'replace with' * } * ``` * * or just use an array of secrets and they will be replaced with "x": * * ```ts * secrets: [process.env.SECRET, 'my secret data', 'another secret'] * ``` */ secrets?: Secrets; } export declare class JestPollyConfigService { private $config; private factory; private init; get config(): PollyConfigWithSecrets; set config(config: PollyConfigWithSecrets); } export declare const jestPollyConfigService: JestPollyConfigService; export {};