/// /// import * as thrift from "@creditkarma/thrift-server-core"; import * as PurchaseScreenReason from "./PurchaseScreenReason"; import * as MaybeEpic from "./MaybeEpic"; 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 ILaunchPurchaseScreen__Args { reason: PurchaseScreenReason.PurchaseScreenReason; } export interface ILaunchPurchaseScreen__ArgsArgs { reason: PurchaseScreenReason.PurchaseScreenReason; } export declare const LaunchPurchaseScreen__ArgsCodec: thrift.IStructCodec; export declare class LaunchPurchaseScreen__Args extends thrift.StructLike implements ILaunchPurchaseScreen__Args { reason: PurchaseScreenReason.PurchaseScreenReason; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args: ILaunchPurchaseScreen__ArgsArgs); static read(input: thrift.TProtocol): LaunchPurchaseScreen__Args; static write(args: ILaunchPurchaseScreen__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IGetEpics__Args { } export interface IGetEpics__ArgsArgs { } export declare const GetEpics__ArgsCodec: thrift.IStructCodec; export declare class GetEpics__Args extends thrift.StructLike implements IGetEpics__Args { readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IGetEpics__ArgsArgs); static read(input: thrift.TProtocol): GetEpics__Args; static write(args: IGetEpics__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IEpicSeen__Args { } export interface IEpicSeen__ArgsArgs { } export declare const EpicSeen__ArgsCodec: thrift.IStructCodec; export declare class EpicSeen__Args extends thrift.StructLike implements IEpicSeen__Args { readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IEpicSeen__ArgsArgs); static read(input: thrift.TProtocol): EpicSeen__Args; static write(args: IEpicSeen__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface ILaunchPurchaseScreen__Result { success?: void; } export interface ILaunchPurchaseScreen__ResultArgs { success?: void; } export declare const LaunchPurchaseScreen__ResultCodec: thrift.IStructCodec; export declare class LaunchPurchaseScreen__Result extends thrift.StructLike implements ILaunchPurchaseScreen__Result { success?: void; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: ILaunchPurchaseScreen__ResultArgs); static read(input: thrift.TProtocol): LaunchPurchaseScreen__Result; static write(args: ILaunchPurchaseScreen__ResultArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IGetEpics__Result { success?: MaybeEpic.IMaybeEpic; } export interface IGetEpics__ResultArgs { success?: MaybeEpic.IMaybeEpicArgs; } export declare const GetEpics__ResultCodec: thrift.IStructCodec; export declare class GetEpics__Result extends thrift.StructLike implements IGetEpics__Result { success?: MaybeEpic.IMaybeEpic; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IGetEpics__ResultArgs); static read(input: thrift.TProtocol): GetEpics__Result; static write(args: IGetEpics__ResultArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IEpicSeen__Result { success?: void; } export interface IEpicSeen__ResultArgs { success?: void; } export declare const EpicSeen__ResultCodec: thrift.IStructCodec; export declare class EpicSeen__Result extends thrift.StructLike implements IEpicSeen__Result { success?: void; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IEpicSeen__ResultArgs); static read(input: thrift.TProtocol): EpicSeen__Result; static write(args: IEpicSeen__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; }; launchPurchaseScreen(reason: PurchaseScreenReason.PurchaseScreenReason, context?: Context): Promise; getEpics(context?: Context): Promise; epicSeen(context?: Context): Promise; } export interface IHandler { launchPurchaseScreen(reason: PurchaseScreenReason.PurchaseScreenReason, context?: Context): void | Promise; getEpics(context?: Context): MaybeEpic.IMaybeEpicArgs | Promise; epicSeen(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_launchPurchaseScreen(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; process_getEpics(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; process_epicSeen(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; }