import { browserDestination } from '../../runtime/shim';
import throttle from './throttle';
export const destination = {
    name: 'Segment Utilities Web',
    slug: 'actions-segment-utilities-web',
    mode: 'device',
    settings: {
        throttleWindow: {
            label: 'Throttle time',
            description: 'The window of time in milliseconds to throttle events.',
            type: 'number',
            default: 3000
        },
        passThroughCount: {
            label: 'Number of events to pass through',
            description: 'Number of events to pass through while waiting for the throttle time to expire.',
            type: 'number',
            default: 1
        }
    },
    initialize: async () => {
        return {
            eventMap: {}
        };
    },
    actions: {
        throttle
    }
};
export default browserDestination(destination);
//# sourceMappingURL=index.js.map