import type { DualDocument, DocumentManyQuery, DbOperation } from './types.ts'; /** * Gets multiple documents based on query options * * This function retrieves multiple documents with support for: * - Sorting by various fields (created_at, updated_at, title, path) * - Filtering by published status * - Filtering by path prefix * - Pagination (limit/offset) * - Optional draft version retrieval * * Query Options: * - sortBy: Field to sort by (default: 'created_at') * - sortOrder: Sort direction 'asc' or 'desc' (default: 'desc') * - published: Filter by published status (true/false/undefined for all) * - draft: Include draft versions (default: false) * - limit: Maximum number of results (default: undefined - no limit) * - offset: Number of results to skip (default: 0) * - startsWithPath: Filter documents whose path starts with this string (e.g., '/blog/') * * @param client Database client * @param options Query options for filtering, sorting, and pagination * @returns Array of DualDocument objects */ export declare const getDualDocuments: DbOperation<[DocumentManyQuery?], DualDocument[]>; //# sourceMappingURL=getDualDocuments.d.ts.map