import QuickBooks from "node-quickbooks"; import type { EntityKind, ResolvedEntityRef } from "./refs.js"; export declare function resolveEntityRef(client: QuickBooks, nameOrId: string, kind: EntityKind): Promise; export declare function resolveCustomerRef(client: QuickBooks, nameOrId: string): Promise<{ value: string; name: string; }>; export type EntityInputResult = T | null | undefined; export interface EntityLineInput { entity_name?: string; entity_id?: string; entity_type?: string; } export interface CustomerLineInput { customer_name?: string; customer_id?: string; } export declare function resolveEntityInput(client: QuickBooks, input: EntityLineInput, label: string): Promise>; export declare function resolveCustomerInput(client: QuickBooks, input: CustomerLineInput, label: string): Promise>; export declare function toDepositEntity(ref: ResolvedEntityRef): { value: string; name: string; type: string; }; export declare function toJournalEntryEntity(ref: ResolvedEntityRef): { Type: EntityKind; EntityRef: { value: string; name: string; }; }; export declare function toPurchaseEntityRef(ref: ResolvedEntityRef): { value: string; name: string; type: EntityKind; }; //# sourceMappingURL=entity-refs.d.ts.map