/** * barkd REST API * A simple REST API for barkd, a wallet daemon for integrating bitcoin payments into your app over HTTP. Supports self-custodial Lightning, Ark, and on-chain out of the box. barkd is a long-running daemon best suited for always-on or high-connectivity environments like nodes, servers, desktops, and point-of-sale terminals. All endpoints return JSON. Amounts are denominated in satoshis. * * The version of the OpenAPI document: 0.6.1 * Contact: hello@second.tech * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ExitStateOneOf } from './ExitStateOneOf'; import type { ExitStateOneOf1 } from './ExitStateOneOf1'; import type { ExitStateOneOf2 } from './ExitStateOneOf2'; import type { ExitStateOneOf3 } from './ExitStateOneOf3'; import type { ExitStateOneOf4 } from './ExitStateOneOf4'; import type { ExitStateOneOf5 } from './ExitStateOneOf5'; import type { ExitStateOneOf6 } from './ExitStateOneOf6'; import type { ExitStateOneOf7 } from './ExitStateOneOf7'; /** * @type ExitState * A utility type to wrap ExitState children so they can be easily serialized. This also helps with * debugging a lot! * @export */ export type ExitState = ExitStateOneOf | ExitStateOneOf1 | ExitStateOneOf2 | ExitStateOneOf3 | ExitStateOneOf4 | ExitStateOneOf5 | ExitStateOneOf6 | ExitStateOneOf7; export declare function ExitStateFromJSON(json: any): ExitState; export declare function ExitStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExitState; export declare function ExitStateToJSON(json: any): any; export declare function ExitStateToJSONTyped(value?: ExitState | null, ignoreDiscriminator?: boolean): any;