import type { StockItem } from "./types.ts"; export type StockQuery = { text?: string; subject?: string; context?: string; detail?: string; metaphor?: string; composition?: string; palette?: string[]; lighting?: string; setting?: string; unwantedSubjects?: string[]; cropTolerance?: "low" | "medium" | "high"; recentExposure?: Record; kind?: "image" | "video"; industry?: string; role?: string; orientation?: "landscape" | "portrait" | "square"; negativeSpace?: string; minWidth?: number; limit?: number; }; /** Pure retrieval shared by the browser picker and agent. Captions are searchable, never proof of inspection. */ export declare function searchStock(items: StockItem[], query?: StockQuery): StockItem[]; /** Set ranking is advisory; actual finalist pixels still determine acceptance. */ export declare function selectStockSet(items: StockItem[], queries: StockQuery[]): { query: StockQuery; item?: StockItem; uncertainty: string[]; }[];