import type { AccountCache, VendorCache, EmployeeCache } from "../types/index.js"; export interface AccountRef { value: string; name: string; acctNum?: string; } export interface VendorRef { value: string; name: string; } export type EntityKind = "Vendor" | "Customer" | "Employee"; export declare const ENTITY_KINDS: EntityKind[]; export interface ResolvedEntityRef { value: string; name: string; type: EntityKind; } export declare function normalizeEntityKind(input: string | undefined, fallback?: EntityKind): EntityKind; export interface ResolveAccountOptions { label?: string; accountType?: string; } export declare function resolveAccountRef(cache: AccountCache, nameOrNumber: string, opts?: ResolveAccountOptions): AccountRef; export declare function toQboRef(ref: AccountRef | VendorRef): { value: string; name: string; }; export declare function resolveVendorRef(cache: VendorCache, nameOrId: string): VendorRef; export declare function resolveEmployeeRef(cache: EmployeeCache, nameOrId: string): VendorRef; //# sourceMappingURL=refs.d.ts.map