/// /// import * as thrift from "@creditkarma/thrift-server-core"; 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 IRequestSignUp__Args { emailAddress: string; newsletterIdentityName: string; } export interface IRequestSignUp__ArgsArgs { emailAddress: string; newsletterIdentityName: string; } export declare const RequestSignUp__ArgsCodec: thrift.IStructCodec; export declare class RequestSignUp__Args extends thrift.StructLike implements IRequestSignUp__Args { emailAddress: string; newsletterIdentityName: string; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args: IRequestSignUp__ArgsArgs); static read(input: thrift.TProtocol): RequestSignUp__Args; static write(args: IRequestSignUp__ArgsArgs, output: thrift.TProtocol): void; write(output: thrift.TProtocol): void; } export interface IRequestSignUp__Result { success?: boolean; } export interface IRequestSignUp__ResultArgs { success?: boolean; } export declare const RequestSignUp__ResultCodec: thrift.IStructCodec; export declare class RequestSignUp__Result extends thrift.StructLike implements IRequestSignUp__Result { success?: boolean; readonly _annotations: thrift.IThriftAnnotations; readonly _fieldAnnotations: thrift.IFieldAnnotations; constructor(args?: IRequestSignUp__ResultArgs); static read(input: thrift.TProtocol): RequestSignUp__Result; static write(args: IRequestSignUp__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; }; requestSignUp(emailAddress: string, newsletterIdentityName: string, context?: Context): Promise; } export interface IHandler { requestSignUp(emailAddress: string, newsletterIdentityName: string, context?: Context): boolean | 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_requestSignUp(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise; }