///
///
import * as thrift from "@creditkarma/thrift-server-core";
import * as Metric from "./Metric";
export declare const serviceName: string;
export declare const annotations: thrift.IThriftAnnotations;
export declare const methodAnnotations: thrift.IMethodAnnotations;
export declare const methodNames: Array;
export declare const methodParameters: {
[methodName: string]: number;
};
export interface ISendMetrics__Args {
metrics: Array;
}
export interface ISendMetrics__ArgsArgs {
metrics: Array;
}
export declare const SendMetrics__ArgsCodec: thrift.IStructCodec;
export declare class SendMetrics__Args extends thrift.StructLike implements ISendMetrics__Args {
metrics: Array;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args: ISendMetrics__ArgsArgs);
static read(input: thrift.TProtocol): SendMetrics__Args;
static write(args: ISendMetrics__ArgsArgs, output: thrift.TProtocol): void;
write(output: thrift.TProtocol): void;
}
export interface ISendMetrics__Result {
success?: void;
}
export interface ISendMetrics__ResultArgs {
success?: void;
}
export declare const SendMetrics__ResultCodec: thrift.IStructCodec;
export declare class SendMetrics__Result extends thrift.StructLike implements ISendMetrics__Result {
success?: void;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args?: ISendMetrics__ResultArgs);
static read(input: thrift.TProtocol): SendMetrics__Result;
static write(args: ISendMetrics__ResultArgs, output: thrift.TProtocol): void;
write(output: thrift.TProtocol): void;
}
export declare class Client extends thrift.ThriftClient {
static readonly serviceName: string;
static readonly annotations: thrift.IThriftAnnotations;
static readonly methodAnnotations: thrift.IMethodAnnotations;
static readonly methodNames: Array;
readonly _serviceName: string;
readonly _annotations: thrift.IThriftAnnotations;
readonly _methodAnnotations: thrift.IMethodAnnotations;
readonly _methodNames: Array;
readonly _methodParameters?: {
[methodName: string]: number;
};
sendMetrics(metrics: Array, context?: Context): Promise;
}
export interface IHandler {
sendMetrics(metrics: Array, context?: Context): void | Promise;
}
export declare class Processor extends thrift.ThriftProcessor> {
protected readonly _handler: IHandler;
static readonly serviceName: string;
static readonly annotations: thrift.IThriftAnnotations;
static readonly methodAnnotations: thrift.IMethodAnnotations;
static readonly methodNames: Array;
readonly _serviceName: string;
readonly _annotations: thrift.IThriftAnnotations;
readonly _methodAnnotations: thrift.IMethodAnnotations;
readonly _methodNames: Array;
constructor(handler: IHandler);
process(input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise;
process_sendMetrics(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise;
}