/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** Set (e.g. to 1) to suppress lifecycle warnings entirely; 0 and false do not suppress. */ export declare const SUPPRESS_ENV_VAR = "FIREBLOCKS_SDK_SUPPRESS_LIFECYCLE_WARNING"; export declare const LIFECYCLE_STATE_HEADER = "fireblocks-lifecycle-state"; export declare const SUNSET_HEADER = "sunset"; export declare const LINK_HEADER = "link"; /** Key under which the param creator stamps the operation onto the request config. */ export declare const OPERATION_ID_CONFIG_KEY = "fireblocksOperationId"; export declare const EA_STATE = "ea"; /** @deprecated Use EA_STATE. The beta lifecycle state was renamed to ea and no longer warns. */ export declare const BETA_STATE = "beta"; export declare const DEPRECATED_STATE = "deprecated"; export declare const CLOSED_STATE = "closed"; export declare const WARNING_STATES: ReadonlySet; export declare const GONE_STATUS = 410; export declare const REL_DEPRECATION = "deprecation"; export declare const REL_SUCCESSOR_VERSION = "successor-version"; /** * Build the warning for a response, or undefined when nothing should be logged. * Silent on: absent or empty header, an unrecognised state, `ga`, and a `closed` * operation answered with 410 Gone. An unknown status counts as "not 410". * * Header values are emitted as received. They are gateway-authored - the gateway * strips any downstream-supplied lifecycle headers and reapplies its own, derived * from the deployed specification, which is validated by the OpenAPI lint rules. */ export declare function buildLifecycleWarning(headers: unknown, operationId: string, status?: number): string | undefined; /** True when the suppression env var is set to anything other than 0 or false. */ export declare function isSuppressed(value: string | undefined): boolean; /** * Emit one warning per execution when the response reports a non-GA state. * * Suppressed when FIREBLOCKS_SDK_SUPPRESS_LIFECYCLE_WARNING is set to anything * other than 0 or false. * * Never throws: a malformed header must not break a caller's request. */ export declare function warnOnLifecycleState(headers: unknown, operationId: string | undefined, status?: number): void; /** Read the operation stamped onto the request config by the param creator. */ export declare function operationIdFromConfig(config: unknown): string | undefined;