import type { DbAdapter } from "../adapter.ts"; import type { PgType } from "../pgtype.ts"; import type { Canonical } from "../canonicalise/index.ts"; export interface MaterializedViewColumn { name: string; type: Canonical; isNullable: boolean; ordinalPosition: number; comment: string | null; } export interface MaterializedViewDetails extends PgType<"materializedView"> { columns: MaterializedViewColumn[]; definition: string; isPopulated: boolean; } declare const extractMaterializedView: (db: DbAdapter, mview: PgType<"materializedView">) => Promise; export default extractMaterializedView;