import type * as core from '@prismamedia/graphql-platform'; import * as utils from '@prismamedia/graphql-platform-utils'; import type { Table } from '../../table.js'; import { AbstractIndex } from '../abstract-index.js'; import type { Column } from '../column.js'; export * from './plain/diagnosis.js'; export type PlainIndexConfig = { /** * Optional, the index's name */ name?: utils.Nillable; /** * Required, the index's components' name */ components: ReadonlyArray; }; /** * @see https://mariadb.com/kb/en/getting-started-with-indexes/#plain-indexes */ export declare class PlainIndex extends AbstractIndex { readonly config: PlainIndexConfig; readonly configPath: utils.Path; constructor(table: Table, config: PlainIndexConfig, configPath: utils.Path); get columns(): ReadonlyArray; get name(): string; /** * @see https://mariadb.com/kb/en/create-table/#plain-indexes */ get definition(): string; } //# sourceMappingURL=plain.d.ts.map