export interface Metric {
    key: string;
    value: number;
}
export type Metadata = {
    [key: string]: string;
};
export interface Context {
    timestamp?: Date;
    ttl?: number;
    extraPayload?: {
        [key: string]: string;
    };
}
export type Result = boolean | {
    [index: number]: boolean;
};
export interface SenderSDKInterface {
    metrics(metrics: Array<Metric>, metadata?: Metadata, context?: Context): Promise<Result>;
    metricsLegacy<T = never>(metrics: Array<T>, metadata?: Metadata, context?: Context, topic?: string): Promise<Result>;
    documents<T = object>(documents: Array<T>, metadata?: Metadata, context?: Context): Promise<Result>;
}
