import { type BuildTimeOptionsBase } from '@sentry/core'; import type { Plugin } from 'vite'; /** * Build-time options for the Sentry SolidStart SDK on SolidStart 2. */ export type SentrySolidStartOptions = BuildTimeOptionsBase; /** * Vite plugins for the Sentry SolidStart SDK. Requires SolidStart 2. * * On SolidStart 1, use `withSentry` in `app.config.ts` instead. * * @example * ```typescript * // vite.config.ts * import { sentrySolidStart } from '@sentry/solidstart/vite'; * import { solidStart } from '@solidjs/start/config'; * import { nitro } from 'nitro/vite'; * import { defineConfig } from 'vite'; * * export default defineConfig({ * plugins: [ * solidStart(), * sentrySolidStart({ * org: 'your-org', * project: 'your-project', * }), * nitro(), * ], * }); * ``` * * @param options - Options to configure the Sentry Vite plugins * @returns An array of Vite plugins */ export declare function sentrySolidStart(options?: SentrySolidStartOptions): Plugin[]; //# sourceMappingURL=sentrySolidStart.d.ts.map