import { Item } from "../index";
export declare function searchProducts(query: string): Promise<Item[]>;
export declare function searchWithFilters(query: string, brandFilter?: string[]): Promise<Item[]>;
export declare function getProductsByCategory(category: string): Promise<Item[]>;
export declare function searchWithPagination(query: string, page: number, pageSize?: number): Promise<{
    items: Item[];
    total: number;
    hasMore: boolean;
    facets: Record<string, import("../types").FacetValue[]>;
}>;
export declare function searchWithVariants(query: string, color?: string, size?: string): Promise<Item[]>;
export declare function searchWithTimeout(query: string, timeoutMs?: number): Promise<Item[]>;
export declare function robustSearch(query: string): Promise<Item[] | null>;
interface CustomProduct {
    id: string;
    productName: string;
    productUrl: string;
    imageData: {
        small: string;
        medium: string;
    };
    sku: string;
    price?: number;
}
export declare function searchCustomProducts(query: string): Promise<CustomProduct[]>;
export declare function getAvailableFilters(): string[];
export declare function updateAuthToken(newToken: string): void;
export declare function buildFilterOptions(facets: Record<string, Array<{
    value: string;
    count: number;
}>>): Record<string, {
    label: string;
    value: string;
    count: number;
}[]>;
export {};
//# sourceMappingURL=example.d.ts.map