import type { Db } from "../types.js"; export declare class RFQService { private db; constructor(db: Db); create(data: { buyerId?: string; title: string; description?: string; categorySlug?: string; quantity?: number; budgetCents?: number; currency?: string; deadlineAt?: Date | undefined; metadata?: Record; }): Promise<{ id: string; createdAt: Date; status: string; metadata: Record | null; description: string | null; title: string; quantity: number | null; currency: string; categorySlug: string | null; deadlineAt: Date | null; buyerId: string | null; budgetCents: number | null; awardedVendorId: string | null; } | undefined>; getById(id: string): Promise<{ id: string; buyerId: string | null; title: string; description: string | null; categorySlug: string | null; quantity: number | null; budgetCents: number | null; currency: string; deadlineAt: Date | null; status: string; awardedVendorId: string | null; metadata: Record | null; createdAt: Date; } | null>; list(filters?: { status?: string; categorySlug?: string; }): Promise<{ id: string; buyerId: string | null; title: string; description: string | null; categorySlug: string | null; quantity: number | null; budgetCents: number | null; currency: string; deadlineAt: Date | null; status: string; awardedVendorId: string | null; metadata: Record | null; createdAt: Date; }[]>; respond(rfqId: string, data: { vendorId: string; unitPriceCents: number; totalPriceCents: number; leadTimeDays?: number; notes?: string; }): Promise<{ id: string; createdAt: Date; status: string; vendorId: string; notes: string | null; rfqId: string; unitPriceCents: number; totalPriceCents: number; leadTimeDays: number | null; } | undefined>; getResponses(rfqId: string): Promise<{ id: string; rfqId: string; vendorId: string; unitPriceCents: number; totalPriceCents: number; leadTimeDays: number | null; notes: string | null; status: string; createdAt: Date; }[]>; award(rfqId: string, vendorId: string): Promise<{ id: string; buyerId: string | null; title: string; description: string | null; categorySlug: string | null; quantity: number | null; budgetCents: number | null; currency: string; deadlineAt: Date | null; status: string; awardedVendorId: string | null; metadata: Record | null; createdAt: Date; } | null>; close(rfqId: string): Promise<{ id: string; buyerId: string | null; title: string; description: string | null; categorySlug: string | null; quantity: number | null; budgetCents: number | null; currency: string; deadlineAt: Date | null; status: string; awardedVendorId: string | null; metadata: Record | null; createdAt: Date; } | null>; } //# sourceMappingURL=rfq.d.ts.map