import { Querier } from '@platform-modules/db';
import { SearchProvider } from '@platform-modules/search';
import { C as ContentSchema, A as Actor } from './authz-AVHoDrJ4.js';
import 'drizzle-orm/pg-core';

/**
 * FTS5 migration for SQLite — creates virtual table + triggers to sync.
 * Host runs this AFTER the main content_entries table exists.
 */
declare const contentFts5MigrationSql: string;
type ContentSearchCtx = {
    db: Querier<ContentSchema>;
    viewer?: Actor | null;
};
declare function createContentSqliteSearchProvider(opts?: {
    types?: string[];
}): SearchProvider<ContentSearchCtx>;

export { type ContentSearchCtx, contentFts5MigrationSql, createContentSqliteSearchProvider };
