/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { Empty } from '../../../../google/protobuf/empty';
export declare const protobufPackage = "yandex.cloud.datasphere.v1";
export interface AppTokenValidateRequest {
    /** App token to validate. */
    token: string;
}
export declare const AppTokenValidateRequest: {
    encode(message: AppTokenValidateRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AppTokenValidateRequest;
    fromJSON(object: any): AppTokenValidateRequest;
    toJSON(message: AppTokenValidateRequest): unknown;
    fromPartial<I extends {
        token?: string | undefined;
    } & {
        token?: string | undefined;
    } & Record<Exclude<keyof I, "token">, never>>(object: I): AppTokenValidateRequest;
};
/** A set of methods for managing app tokens. */
export declare const AppTokenServiceService: {
    /** Validates app token. */
    readonly validate: {
        readonly path: "/yandex.cloud.datasphere.v1.AppTokenService/Validate";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: AppTokenValidateRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => AppTokenValidateRequest;
        readonly responseSerialize: (value: Empty) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Empty;
    };
};
export interface AppTokenServiceServer extends UntypedServiceImplementation {
    /** Validates app token. */
    validate: handleUnaryCall<AppTokenValidateRequest, Empty>;
}
export interface AppTokenServiceClient extends Client {
    /** Validates app token. */
    validate(request: AppTokenValidateRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
    validate(request: AppTokenValidateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
    validate(request: AppTokenValidateRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall;
}
export declare const AppTokenServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): AppTokenServiceClient;
    service: typeof AppTokenServiceService;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
