import { APIResource } from "../../../core/resource.js"; import { APIPromise } from "../../../core/api-promise.js"; import { RequestOptions } from "../../../internal/request-options.js"; export declare class Secret extends APIResource { /** * Get the signing secret for the default webhook endpoint. This is used to verify * that webhook requests are coming from Replicate. * * Example cURL request: * * ```console * curl -s \ * -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ * https://api.replicate.com/v1/webhooks/default/secret * ``` * * The response will be a JSON object with a `key` property: * * ```json * { * "key": "..." * } * ``` */ get(options?: RequestOptions): APIPromise; } export interface SecretGetResponse { /** * The signing secret. */ key?: string; } export declare namespace Secret { export { type SecretGetResponse as SecretGetResponse }; } //# sourceMappingURL=secret.d.ts.map