import type { OperationExampleMeta, WorkspaceEventBus } from '@scalar/workspace-store/events';
import type { TableRow } from '@/v2/blocks/request-block/components/RequestTableRow.vue';
type ParameterType = 'path' | 'cookie' | 'header' | 'query';
/** Create parameter event handlers for a given type */
export declare const createParameterHandlers: (type: ParameterType, eventBus: WorkspaceEventBus, meta: OperationExampleMeta, { context, defaultParameters, globalParameters, }: {
    context: TableRow[];
    defaultParameters?: number;
    globalParameters?: number;
}) => {
    delete: (payload: {
        index: number;
    }) => void;
    deleteAll: () => void;
    upsert: (index: number, payload: {
        name: string;
        value: string;
        isDisabled: boolean;
    }) => void;
};
export {};
//# sourceMappingURL=create-parameter-handlers.d.ts.map