import type { AuroraMysqlConnectionCredentialsOptions } from "./AuroraMysqlConnectionCredentialsOptions";
import type { BaseDataSourceOptions } from "../../data-source/BaseDataSourceOptions";
/**
 * MySQL specific connection options.
 * @see https://github.com/mysqljs/mysql#connection-options
 */
export interface AuroraMysqlDataSourceOptions extends BaseDataSourceOptions, AuroraMysqlConnectionCredentialsOptions {
    /**
     * Database type.
     */
    readonly type: "aurora-mysql";
    readonly region: string;
    readonly secretArn: string;
    readonly resourceArn: string;
    readonly database: string;
    /**
     * The driver object
     * This defaults to require("typeorm-aurora-data-api-driver")
     */
    readonly driver?: any;
    readonly serviceConfigOptions?: {
        [key: string]: any;
    };
    readonly formatOptions?: {
        [key: string]: any;
        castParameters: boolean;
    };
    /**
     * Use spatial functions like GeomFromText and AsText which are removed in MySQL 8.
     * (Default: false)
     */
    readonly legacySpatialSupport?: boolean;
    readonly poolSize?: never;
}
