import type { Poool } from 'poool-access'; import { type ComponentPropsWithoutRef, type ReactNode } from 'react'; export interface PixelProps extends ComponentPropsWithoutRef { /** * The event type * * More infos: https://www.poool.dev/docs/access/javascript/audit/methods */ type: Parameters[0]; /** * The event data * * More infos: https://www.poool.dev/docs/access/javascript/audit/methods */ data?: Parameters[1]; /** * The audit config options * * More infos: https://www.poool.dev/docs/audit/javascript/audit/configuration */ config?: Poool.AuditConfigOptions; /** * the event options * * more infos: https://www.poool.dev/docs/access/javascript/audit/methods */ options?: Parameters[2]; /** * Callback to execute when the event is done * * More infos: https://www.poool.dev/docs/access/react */ onDone?: () => void; /** * Whether to reuse the same event or not * * More infos: https://www.poool.dev/docs/access/react */ reuse?: boolean; } declare function Pixel({ type, data, config, options, onDone, reuse, }: PixelProps): ReactNode; declare namespace Pixel { var displayName: string; } export default Pixel; //# sourceMappingURL=index.d.ts.map