Rocky_Mountain_Vending/.pnpm-store/v10/files/a8/d23bcd3ccf81c3692e73660abd7529478a529fdfb579c4634d3c44e5a794757963b16fb80e5c9ce6b8752eb52d642e73cadbda6538df8067ed0adc32530bd9
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

42 lines
No EOL
1.3 KiB
Text

import { Attributes } from '@opentelemetry/api';
import type * as mysqlTypes from 'mysql2';
declare type formatType = typeof mysqlTypes.format;
interface QueryOptions {
sql: string;
values?: any | any[] | {
[param: string]: any;
};
}
interface Query {
sql: string;
}
interface Config {
host?: string;
port?: number;
database?: string;
user?: string;
connectionConfig?: Config;
}
/**
* Get an Attributes map from a mysql connection config object
*
* @param config ConnectionConfig
*/
export declare function getConnectionAttributes(config: Config): Attributes;
/**
* Conjures up the value for the db.statement attribute by formatting a SQL query.
*
* @returns the database statement being executed.
*/
export declare function getDbStatement(query: string | Query | QueryOptions, format?: formatType, values?: any[]): string;
/**
* The span name SHOULD be set to a low cardinality value
* representing the statement executed on the database.
*
* @returns SQL statement without variable arguments or SQL verb
*/
export declare function getSpanName(query: string | Query | QueryOptions): string;
export declare const once: (fn: Function) => (...args: unknown[]) => any;
export declare function getConnectionPrototypeToInstrument(connection: any): any;
export {};
//# sourceMappingURL=utils.d.ts.map