import { QueryDefinition, Table, Template, Type } from '../..'; import { PartitionBoundConfig } from './create'; export declare function RENAME_TABLE(name: string): Template; export declare function RENAME_CONSTRAINT(old: string, name: string): Template; export declare function RENAME_COLUMN(old: string, name: string): Template; export declare function SET_TABLE_SCHEMA(schema: string): Template; export declare function ATTACH_PARTITION(name: string, forValues: PartitionBoundConfig): Template; export declare function DETACH_PARTITION(name: string): Template; export declare function ADD_COLUMN(name: string, type: Type, config: { constraints?: Template[]; collation: string; ifNotExists?: boolean; }): Template; export declare function DROP_COLUMN(name: string, config: { ifExists?: boolean; type?: 'RESTRICT' | 'CACADE'; }): Template; export declare function SET_COLUMN_DEFAULT(name: string, value: any): Template; export declare function DROP_COLUMN_DEFAULT(name: string): Template; export declare function SET_COLUMN_NOT_NULL(name: string): Template; export declare function DROP_COLUMN_NOT_NULL(name: string): Template; export declare function ADD_TABLE_CONSTRAINT(constraint: Template, notValid?: boolean): Template; export declare function DROP_CONSTRAINT(name: string, config: { ifExists?: boolean; type?: 'RESTRICT' | 'CACADE'; }): Template; export declare function ALTER_TABLE(config: AlterTableConfig): QueryDefinition, boolean, any>>>>; export interface AlterTableConfig { ifExists?: boolean; table: Table | { only?: boolean; table: Table; }; actions: Template[]; } export declare const stringifyAlterTableConfig: (config: AlterTableConfig) => Template;