import type { DbAdapter } from "../adapter.ts"; import type { PgType } from "../pgtype.ts"; import type { Canonical } from "../canonicalise/index.ts"; /** * Domain type in a schema with details. */ export interface DomainDetails extends PgType<"domain"> { /** * Canonical representation of the domain type * with full attribute details. */ canonical: Canonical.Domain; } declare const extractDomain: (db: DbAdapter, domain: PgType<"domain">) => Promise; export default extractDomain;