import { RequestClient } from '@segment/actions-core';
import { Settings } from './generated-types';
import { Payload as EventPayload } from './event/generated-types';
import { Payload as IdentifyPayload } from './identify/generated-types';
import { Payload as AliasPayload } from './alias/generated-types';
type IdentifyOrEventPayload = EventPayload | IdentifyPayload;
type ContextFields = NonNullable<IdentifyOrEventPayload['context']>;
export declare function buildContextProps(context: ContextFields | undefined, channel?: string): Record<string, unknown>;
export declare function sendTrack(request: RequestClient, settings: Settings, payload: EventPayload): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export declare function sendIdentify(request: RequestClient, settings: Settings, payload: IdentifyPayload): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export declare function sendTrackBatch(request: RequestClient, settings: Settings, payloads: EventPayload[]): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export declare function sendIdentifyBatch(request: RequestClient, settings: Settings, payloads: IdentifyPayload[]): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export declare function sendAlias(request: RequestClient, settings: Settings, payload: AliasPayload): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export declare function sendAliasBatch(request: RequestClient, settings: Settings, payloads: AliasPayload[]): Promise<import("@segment/actions-core/src").ModifiedResponse<unknown>>;
export {};
