import type { Settings } from '../generated-types';
import type { Payload } from './generated-types';
import { RequestClient } from '@segment/actions-core';
interface PropsOrTraits {
    properties?: Record<string, boolean>;
    traits?: Record<string, boolean>;
}
export interface Data {
    payload: Payload | Array<Payload>;
    settings: Settings;
    rawData: PropsOrTraits | Array<PropsOrTraits>;
}
export declare class OptimizelyClient {
    request: RequestClient;
    payloads: Payload[];
    settings: Settings;
    propsOrTraits: PropsOrTraits[];
    constructor(request: RequestClient, data: Data);
    send(): Promise<import("@segment/actions-core").ModifiedResponse<unknown>>;
}
export {};
