import { IdentifierNode } from './identifier-node.js'; import type { OperationNode } from './operation-node.js'; import type { RawNode } from './raw-node.js'; export interface AddIndexNode extends OperationNode { readonly kind: 'AddIndexNode'; readonly name: IdentifierNode; readonly columns?: OperationNode[]; readonly unique?: boolean; readonly using?: RawNode; /** * @deprecated added by accident. */ readonly ifNotExists?: boolean; } type AddIndexNodeFactory = Readonly<{ is(node: OperationNode): node is AddIndexNode; create(name: string): Readonly; /** * @deprecated `ifNotExists` was added by accident. */ cloneWith(node: AddIndexNode, props: Required>): Readonly; cloneWith(node: AddIndexNode, props: Omit): Readonly; cloneWithColumns(node: AddIndexNode, columns: OperationNode[]): Readonly; }>; /** * @internal */ export declare const AddIndexNode: AddIndexNodeFactory; export {};