import type { LixSchemaDefinition } from "../../schema-definition/definition.js";
export type SchemaIndexSpec = {
    kind: "pk" | "unique" | "foreign";
    columns: string[];
    unique?: boolean;
    where?: string;
};
export type SchemaIndexStatement = SchemaIndexSpec & {
    name: string;
    sql: string;
};
export declare function sanitizeIdentifier(value: string): string;
export declare function propertyNameToColumn(property: string): string;
export declare function buildSchemaIndexStatements(args: {
    schema: LixSchemaDefinition;
    tableName: string;
}): SchemaIndexStatement[];
export declare function buildSchemaIndexSpecs(schema: LixSchemaDefinition): SchemaIndexSpec[];
//# sourceMappingURL=schema-indexes.d.ts.map