import type { Transport, PageResult } from '@23blocks/contracts'; import type { Vendor, CreateVendorRequest, UpdateVendorRequest, ListVendorsParams } from '../types/vendor.js'; export interface VendorsService { /** * List vendors with optional filtering and sorting. * @returns Paginated list of Vendor records with metadata. */ list(params?: ListVendorsParams): Promise>; /** * Get a single vendor by unique ID. * @returns The matching Vendor record. */ get(uniqueId: string): Promise; /** * Create a new vendor. * @returns The newly created Vendor record. */ create(data: CreateVendorRequest): Promise; /** * Update an existing vendor. * @returns The updated Vendor record. */ update(uniqueId: string, data: UpdateVendorRequest): Promise; /** * Delete a vendor. */ delete(uniqueId: string): Promise; } export declare function createVendorsService(transport: Transport, _config: { apiKey: string; }): VendorsService; //# sourceMappingURL=vendors.service.d.ts.map