import type { Check } from "./checks.js";
import type { ForeignKey } from "./foreign-keys.js";
import type { Index } from "./indexes.js";
import type { PrimaryKey } from "./primary-keys.js";
import { MsSqlTable } from "./table.js";
import { type UniqueConstraint } from "./unique-constraint.js";
import type { MsSqlView } from "./view.js";
export declare function getTableConfig(table: MsSqlTable): {
    columns: import("./index.js").MsSqlColumn<import("../column.js").ColumnBaseConfig<import("../column-builder.js").ColumnDataType, string>, object, {}>[];
    indexes: Index[];
    foreignKeys: ForeignKey[];
    checks: Check[];
    primaryKeys: PrimaryKey[];
    uniqueConstraints: UniqueConstraint[];
    name: string;
    schema: string | undefined;
    baseName: string;
};
export declare function getViewConfig<TName extends string = string, TExisting extends boolean = boolean>(view: MsSqlView<TName, TExisting>): {
    encryption?: boolean;
    schemaBinding?: boolean;
    viewMetadata?: boolean;
    checkOption?: boolean;
    name: TName;
    originalName: TName;
    schema: string | undefined;
    selectedFields: import("../index.js").ColumnsSelection;
    isExisting: TExisting;
    query: TExisting extends true ? undefined : import("../index.js").SQL<unknown>;
    isAlias: boolean;
};
