/// /// import * as thrift from "@creditkarma/thrift-server-core"; import * as AdSlot from "./AdSlot"; 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 IInsertAdverts__Args { adSlots: Array; } export interface IInsertAdverts__ArgsArgs { adSlots: Array; } export declare const InsertAdverts__ArgsCodec: thrift.IStructCodec; export declare class InsertAdverts__Args extends thrift.StructLike implements IInsertAdverts__Args { adSlots: Array; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args: IInsertAdverts__ArgsArgs); static read(input: thrift.TProtocol): InsertAdverts__Args; static write(args: IInsertAdverts__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IUpdateAdverts__Args { adSlots: Array; } export interface IUpdateAdverts__ArgsArgs { adSlots: Array; } export declare const UpdateAdverts__ArgsCodec: thrift.IStructCodec; export declare class UpdateAdverts__Args extends thrift.StructLike implements IUpdateAdverts__Args { adSlots: Array; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args: IUpdateAdverts__ArgsArgs); static read(input: thrift.TProtocol): UpdateAdverts__Args; static write(args: IUpdateAdverts__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface ISendTargetingParams__Args { targetingParams: Map; } export interface ISendTargetingParams__ArgsArgs { targetingParams: Map; } export declare const SendTargetingParams__ArgsCodec: thrift.IStructCodec; export declare class SendTargetingParams__Args extends thrift.StructLike implements ISendTargetingParams__Args { targetingParams: Map; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args: ISendTargetingParams__ArgsArgs); static read(input: thrift.TProtocol): SendTargetingParams__Args; static write(args: ISendTargetingParams__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IInsertAdverts__Result { success?: void; } export interface IInsertAdverts__ResultArgs { success?: void; } export declare const InsertAdverts__ResultCodec: thrift.IStructCodec; export declare class InsertAdverts__Result extends thrift.StructLike implements IInsertAdverts__Result { success?: void; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IInsertAdverts__ResultArgs); static read(input: thrift.TProtocol): InsertAdverts__Result; static write(args: IInsertAdverts__ResultArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IUpdateAdverts__Result { success?: void; } export interface IUpdateAdverts__ResultArgs { success?: void; } export declare const UpdateAdverts__ResultCodec: thrift.IStructCodec; export declare class UpdateAdverts__Result extends thrift.StructLike implements IUpdateAdverts__Result { success?: void; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IUpdateAdverts__ResultArgs); static read(input: thrift.TProtocol): UpdateAdverts__Result; static write(args: IUpdateAdverts__ResultArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface ISendTargetingParams__Result { success?: void; } export interface ISendTargetingParams__ResultArgs { success?: void; } export declare const SendTargetingParams__ResultCodec: thrift.IStructCodec; export declare class SendTargetingParams__Result extends thrift.StructLike implements ISendTargetingParams__Result { success?: void; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: ISendTargetingParams__ResultArgs); static read(input: thrift.TProtocol): SendTargetingParams__Result; static write(args: ISendTargetingParams__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; }; insertAdverts(adSlots: Array, context?: Context): Promise; updateAdverts(adSlots: Array, context?: Context): Promise; sendTargetingParams(targetingParams: Map, context?: Context): Promise; } export interface IHandler { insertAdverts(adSlots: Array, context?: Context): void | Promise; updateAdverts(adSlots: Array, context?: Context): void | Promise; sendTargetingParams(targetingParams: Map, 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_insertAdverts(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; process_updateAdverts(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; process_sendTargetingParams(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; }