import React from 'react'; declare global { interface Window { pagefind: { search: (query: string, options?: IPagefindSearchOptions) => Promise; preload: () => Promise; }; } } interface IPagefindSearchOptions { filters?: Record; sort?: string; excerptLength?: number; verbose?: boolean; } interface IPagefindResultDataWeightedLocations { balanced_score: number; location: number; weight: number; } interface IPagefindResultDataPatch { excerpt: string; locations: Array; url: string; weighted_locations: Array; } interface IPagefindResultData extends IPagefindResultDataPatch { anchors: Array; content: string; filters: Record; meta: { title: string; }; raw_content: string; raw_url: string; word_count: number; sub_results: Array; } interface IPagefindResult { id: string; score: number; words: Array; data: () => Promise; } interface IPagefindResults { results: Array; query: string; } interface INextStaticSearch { placeholder?: string; searchClassName?: string; macSymbol?: React.JSX.Element | string; windowsSymbol?: React.JSX.Element | string; searchBoxTitle?: string; errorMessage?: string; notFoundMessage?: string; searchBoxType: "modal" | "inline"; pagesToIgnore?: Array; } declare const NextStaticSearch: React.FC>; export { NextStaticSearch };