export type DatabaseConfig = {
    driver: 'sqlite' | 'postgresql' | 'mysql' | 'sqlserver' | 'd1';
    database?: string;
    host?: string;
    port?: number;
    username?: string;
    password?: string;
    synchronize?: boolean;
    logging?: boolean;
    readHosts?: string[];
};
export type QueryResult = {
    rows: Record<string, unknown>[];
    rowCount: number;
};
export interface IDatabaseAdapter {
    connect(): Promise<void>;
    disconnect(): Promise<void>;
    query(sql: string, parameters: unknown[]): Promise<QueryResult>;
    queryOne(sql: string, parameters: unknown[]): Promise<Record<string, unknown> | null>;
    ping(): Promise<void>;
    transaction<T>(callback: (adapter: IDatabaseAdapter) => Promise<T>): Promise<T>;
    rawQuery<T = unknown>(sql: string, parameters?: unknown[]): Promise<T[]>;
    getType(): string;
    isConnected(): boolean;
    getPlaceholder(index: number): string;
}
export declare const SQLServerAdapter: Readonly<{
    create: (config: DatabaseConfig) => IDatabaseAdapter;
}>;
export default SQLServerAdapter;
/**
 * Package version and build metadata
 * Available at runtime for debugging and health checks
 */
export declare const _ZINTRUST_DB_SQLSERVER_VERSION = "0.1.15";
export declare const _ZINTRUST_DB_SQLSERVER_BUILD_DATE = "__BUILD_DATE__";
//# sourceMappingURL=index.d.ts.map