mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
12 lines
273 B
TypeScript
12 lines
273 B
TypeScript
|
|
import type { SearchOptions } from "flexsearch";
|
||
|
|
|
||
|
|
declare module "@/mdx/search.mjs" {
|
||
|
|
export type Result = {
|
||
|
|
url: string;
|
||
|
|
title: string;
|
||
|
|
pageTitle?: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
export function search(query: string, options?: SearchOptions): Result[];
|
||
|
|
}
|