import { cryptly } from "cryptly"; import { isoly } from "isoly"; import { Balances } from "../Balances"; import { Rail } from "../Rail"; import { Rule } from "../Rule"; import { Charge as AccountCharge } from "./Charge"; import { Creatable as AccountCreatable } from "./Creatable"; import { Details as AccountDetails } from "./Details"; import { History as AccountHistory } from "./History"; import { Status as AccountStatus } from "./Status"; import { Type as AccountType } from "./Type"; export interface Account extends Account.Creatable { id: cryptly.Identifier; created: isoly.DateTime; organization: string; balances: Balances; rails: Rail.Address[]; details?: Account.Details; counterparts?: Record; key?: string; charges?: AccountCharge; rules?: Rule[]; status: Account.Status; type: Account.Type; } export declare namespace Account { export import Charge = AccountCharge; export import Creatable = AccountCreatable; export import Status = AccountStatus; export import History = AccountHistory; export import Details = AccountDetails; export import Type = AccountType; const type: import("isly/dist/cjs/object").IslyObject; function isIdentifier(value: cryptly.Identifier | any): value is cryptly.Identifier; }