import * as common from './common'; export declare type CardholderType = 'INDIVIDUAL' | 'COMPANY'; export declare type CardholderState = 'PENDING' | 'ENABLED' | 'DISABLED' | 'CLOSED'; export declare type Create = { fullName: string; email: string; type?: CardholderType; terms: common.Terms; tags?: Array; annotations?: { [x: string]: string; }; } & (roleId | roleSlug); export declare type Transition = { id: string; fromStateId?: CardholderState; toStateId: CardholderState; annotations?: { [x: string]: string; }; tags?: Array; }; export declare type CardholderList = { results?: Array; }; export declare type Cardholder = { id?: string; fullName?: string; email?: string; terms?: common.Terms; type?: CardholderType; roleId?: string; stateId?: CardholderState; tags?: Array; annotations?: { [x: string]: string; }; }; export declare type CardholderToken = { accessToken?: string; }; export declare type CreateToken = { id: string; }; export declare type UpdateCardholder = { id: string; fullName?: string; email?: string; terms?: common.Terms; }; declare type roleId = { roleId: string; role?: 'roleId'; }; declare type roleSlug = { roleSlug: string; role?: 'roleSlug'; }; export {};