///
///
import * as thrift from "@creditkarma/thrift-server-core";
import * as FootballMatch from "./FootballMatch";
import * as MatchNotificationsAvailability from "./MatchNotificationsAvailability";
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 IIsAvailable__Args {
footballMatch: FootballMatch.IFootballMatch;
}
export interface IIsAvailable__ArgsArgs {
footballMatch: FootballMatch.IFootballMatchArgs;
}
export declare const IsAvailable__ArgsCodec: thrift.IStructCodec;
export declare class IsAvailable__Args extends thrift.StructLike implements IIsAvailable__Args {
footballMatch: FootballMatch.IFootballMatch;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args: IIsAvailable__ArgsArgs);
static read(input: thrift.TProtocol): IsAvailable__Args;
static write(args: IIsAvailable__ArgsArgs, output: thrift.TProtocol): void;
write(output: thrift.TProtocol): void;
}
export interface IIsAvailable__Result {
success?: MatchNotificationsAvailability.IMatchNotificationsAvailability;
}
export interface IIsAvailable__ResultArgs {
success?: MatchNotificationsAvailability.IMatchNotificationsAvailabilityArgs;
}
export declare const IsAvailable__ResultCodec: thrift.IStructCodec;
export declare class IsAvailable__Result extends thrift.StructLike implements IIsAvailable__Result {
success?: MatchNotificationsAvailability.IMatchNotificationsAvailability;
readonly _annotations: thrift.IThriftAnnotations;
readonly _fieldAnnotations: thrift.IFieldAnnotations;
constructor(args?: IIsAvailable__ResultArgs);
static read(input: thrift.TProtocol): IsAvailable__Result;
static write(args: IIsAvailable__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;
};
isAvailable(footballMatch: FootballMatch.IFootballMatchArgs, context?: Context): Promise;
}
export interface IHandler {
isAvailable(footballMatch: FootballMatch.IFootballMatch, context?: Context): MatchNotificationsAvailability.IMatchNotificationsAvailabilityArgs | 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_isAvailable(requestId: number, input: thrift.TProtocol, output: thrift.TProtocol, context: Context): Promise;
}