/** The options that describe a search */ export interface SearchOptions { /** The query entered by the user */ query: string; } /** * Builds a URL query for given SearchOptions (without leading `?`) */ export declare function buildSearchURLQuery(options: SearchOptions): string; /** * Parses the SearchOptions out of URL search params. If neither the 'q' nor * 'sq' params are present, it returns undefined. */ export declare function parseSearchURLQuery(query: string): SearchOptions | undefined; export declare function searchQueryForRepoRev(repoPath: string, rev?: string): string; export declare function quoteIfNeeded(s: string): string; //# sourceMappingURL=index.d.ts.map