/** * Thorchain Unchained API * Provides access to thorchain chain data. * * The version of the OpenAPI document: 1.0.0 * * * 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 { Validator } from './Validator'; import type { Value } from './Value'; /** * Contains info about a staking delegation * @export * @interface Delegation */ export interface Delegation { /** * * @type {Value} * @memberof Delegation */ balance: Value; /** * * @type {string} * @memberof Delegation */ shares: string; /** * * @type {Validator} * @memberof Delegation */ validator: Validator; } /** * Check if a given object implements the Delegation interface. */ export declare function instanceOfDelegation(value: object): boolean; export declare function DelegationFromJSON(json: any): Delegation; export declare function DelegationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Delegation; export declare function DelegationToJSON(value?: Delegation | null): any;