import { SearchInfo } from '.'; import { parseSelectQuery } from './option/select'; import { parseSliderQuery } from './option/slider'; import { parseTextQuery } from './option/text'; import { parseToggleQuery } from './option/toggle'; type QueryType = { text: ReturnType; slider: ReturnType; toggle: ReturnType; select: ReturnType; }; export type Query = { [P in keyof T['options']]: QueryType[T['options'][P]['type']]; }; export declare const parseQuery: (query: Record, search: T) => Query; export {};