///
///
import * as thrift from "@creditkarma/thrift-server-core";
import * as Image from "./Image";
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 ILaunchSlideshow__Args {
images: Array;
selectedIndex: number;
articleTitle: string;
}
export interface ILaunchSlideshow__ArgsArgs {
images: Array;
selectedIndex: number;
articleTitle: string;
}
export declare const LaunchSlideshow__ArgsCodec: thrift.IStructCodec;
export declare class LaunchSlideshow__Args extends thrift.StructLike implements ILaunchSlideshow__Args {
images: Array;
selectedIndex: number;
articleTitle: string;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args: ILaunchSlideshow__ArgsArgs);
static read(input: thrift.TProtocol): LaunchSlideshow__Args;
static write(args: ILaunchSlideshow__ArgsArgs, output: thrift.TProtocol): void;
write(output: thrift.TProtocol): void;
}
export interface ILaunchSlideshow__Result {
success?: void;
}
export interface ILaunchSlideshow__ResultArgs {
success?: void;
}
export declare const LaunchSlideshow__ResultCodec: thrift.IStructCodec;
export declare class LaunchSlideshow__Result extends thrift.StructLike implements ILaunchSlideshow__Result {
success?: void;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args?: ILaunchSlideshow__ResultArgs);
static read(input: thrift.TProtocol): LaunchSlideshow__Result;
static write(args: ILaunchSlideshow__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;
};
launchSlideshow(images: Array, selectedIndex: number, articleTitle: string, context?: Context): Promise;
}
export interface IHandler {
launchSlideshow(images: Array, selectedIndex: number, articleTitle: string, 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_launchSlideshow(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise;
}