import type { ConnectorName } from 'db0';
export interface DatabaseSpanData {
    [key: string]: string | number | undefined;
}
/**
 * A minimal database connection configuration type compatible with both nitropack (Nitro v2) and nitro (Nitro v3+).
 * Mirrors the shape of `DatabaseConnectionConfig` from both packages.
 */
export interface DatabaseConnectionConfig {
    connector?: ConnectorName;
    options?: {
        host?: string;
        port?: number;
        dataDir?: string;
        name?: string;
        [key: string]: unknown;
    };
}
/**
 * Extracts span attributes from the database configuration.
 */
export declare function getDatabaseSpanData(config?: DatabaseConnectionConfig): Partial<DatabaseSpanData>;
