import * as Types from '../types/Types.js'; interface CreditorResponse extends Types.Creditor, Types.APIResponse { } interface CreditorListResponse extends Types.APIResponse { creditors: Array; meta: Types.ListMeta; } interface CreditorCreateRequest { bank_reference_prefix?: string; country_code: string; creditor_type: Types.CreditorCreditorType; name: string; } interface CreditorListRequest { after?: string; before?: string; created_at?: Types.CreatedAtFilter; limit?: string; } interface CreditorUpdateRequest { address_line1?: string; address_line2?: string; address_line3?: string; bank_reference_prefix?: string; city?: string; country_code?: string; links?: Types.CreditorUpdateRequestLinks; name?: string; postal_code?: string; region?: string; } export declare class CreditorService { private api; constructor(api: any); create(requestParameters: CreditorCreateRequest, idempotencyKey?: string, customHeaders?: Types.JsonMap): Promise; list(requestParameters: CreditorListRequest, customHeaders?: Types.JsonMap): Promise; all(requestParameters: CreditorListRequest, customHeaders?: Types.JsonMap): AsyncGenerator; find(identity: string, customHeaders?: Types.JsonMap): Promise; update(identity: string, requestParameters: CreditorUpdateRequest, customHeaders?: Types.JsonMap): Promise; } export {}; //# sourceMappingURL=creditorService.d.ts.map