import type { Document, Route, DocumentId, DbOperation } from './types.ts'; /** * Helper: Find document by id or path, following redirects * Returns document with redirect flag when accessed via non-canonical path */ export declare const findDocument: DbOperation<[ { id?: DocumentId; path?: string; }, { published?: boolean; }? ], (Document & { route: Route; redirect: boolean; }) | null>; //# sourceMappingURL=findDocument.d.ts.map