import type { Knex } from "knex"; import type PgType from "./PgType.ts"; /** * Enum type in a schema. */ export interface EnumDetails extends PgType<"enum"> { /** * Array of enum values in order. */ values: string[]; } declare const extractEnum: (db: Knex, pgEnum: PgType<"enum">) => Promise; export default extractEnum;