import { type SelectQueryBuilder } from "kysely";
export declare const CACHE_COLUMNS: readonly ["entity_id", "schema_key", "file_id", "version_id", "plugin_key", "snapshot_content", "schema_version", "created_at", "updated_at", "inherited_from_version_id", "is_tombstone", "change_id", "commit_id"];
export type StateCacheColumn = (typeof CACHE_COLUMNS)[number];
export type StateCacheRow = Record<StateCacheColumn, unknown>;
/**
 * Returns a Kysely query builder routed to the materialized table for the
 * provided schema key. Pass `undefined` to opt into a no-op SELECT (useful when
 * the physical table might not exist yet).
 */
export declare function selectFromStateCache(schemaKey?: string, columns?: readonly StateCacheColumn[]): SelectQueryBuilder<any, string, StateCacheRow>;
//# sourceMappingURL=select-from-state-cache.d.ts.map