import _m0 from "protobufjs/minimal.js"; export interface SetNotificationTokenRequest { token: string; platform: string; userId: string; } export interface SetNotificationTokenResponse { newTokenDocument: string; } export interface GetNotificationTokensRequest { userId: string; } export interface GetNotificationTokensResponse { tokenDocuments: string[]; } export interface SendNotificationRequest { sendTo: string; title?: string | undefined; platform?: string | undefined; body?: string | undefined; data?: string | undefined; doNotStore?: boolean | undefined; isSilent?: boolean | undefined; } export interface SendNotificationToManyDevicesRequest { sendTo: string[]; title?: string | undefined; body?: string | undefined; data?: string | undefined; platform?: string | undefined; doNotStore?: boolean | undefined; isSilent?: boolean | undefined; } export interface SendManyNotificationsRequest { notifications: SendNotificationRequest[]; } export interface SendNotificationResponse { message: string; } export declare const SetNotificationTokenRequest: { encode(message: SetNotificationTokenRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenRequest; fromJSON(object: any): SetNotificationTokenRequest; toJSON(message: SetNotificationTokenRequest): unknown; create(base?: DeepPartial): SetNotificationTokenRequest; fromPartial(object: DeepPartial): SetNotificationTokenRequest; }; export declare const SetNotificationTokenResponse: { encode(message: SetNotificationTokenResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenResponse; fromJSON(object: any): SetNotificationTokenResponse; toJSON(message: SetNotificationTokenResponse): unknown; create(base?: DeepPartial): SetNotificationTokenResponse; fromPartial(object: DeepPartial): SetNotificationTokenResponse; }; export declare const GetNotificationTokensRequest: { encode(message: GetNotificationTokensRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensRequest; fromJSON(object: any): GetNotificationTokensRequest; toJSON(message: GetNotificationTokensRequest): unknown; create(base?: DeepPartial): GetNotificationTokensRequest; fromPartial(object: DeepPartial): GetNotificationTokensRequest; }; export declare const GetNotificationTokensResponse: { encode(message: GetNotificationTokensResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensResponse; fromJSON(object: any): GetNotificationTokensResponse; toJSON(message: GetNotificationTokensResponse): unknown; create(base?: DeepPartial): GetNotificationTokensResponse; fromPartial(object: DeepPartial): GetNotificationTokensResponse; }; export declare const SendNotificationRequest: { encode(message: SendNotificationRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationRequest; fromJSON(object: any): SendNotificationRequest; toJSON(message: SendNotificationRequest): unknown; create(base?: DeepPartial): SendNotificationRequest; fromPartial(object: DeepPartial): SendNotificationRequest; }; export declare const SendNotificationToManyDevicesRequest: { encode(message: SendNotificationToManyDevicesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationToManyDevicesRequest; fromJSON(object: any): SendNotificationToManyDevicesRequest; toJSON(message: SendNotificationToManyDevicesRequest): unknown; create(base?: DeepPartial): SendNotificationToManyDevicesRequest; fromPartial(object: DeepPartial): SendNotificationToManyDevicesRequest; }; export declare const SendManyNotificationsRequest: { encode(message: SendManyNotificationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendManyNotificationsRequest; fromJSON(object: any): SendManyNotificationsRequest; toJSON(message: SendManyNotificationsRequest): unknown; create(base?: DeepPartial): SendManyNotificationsRequest; fromPartial(object: DeepPartial): SendManyNotificationsRequest; }; export declare const SendNotificationResponse: { encode(message: SendNotificationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse; fromJSON(object: any): SendNotificationResponse; toJSON(message: SendNotificationResponse): unknown; create(base?: DeepPartial): SendNotificationResponse; fromPartial(object: DeepPartial): SendNotificationResponse; }; export type PushNotificationsDefinition = typeof PushNotificationsDefinition; export declare const PushNotificationsDefinition: { readonly name: "PushNotifications"; readonly fullName: "pushnotifications.PushNotifications"; readonly methods: { readonly setNotificationToken: { readonly name: "SetNotificationToken"; readonly requestType: { encode(message: SetNotificationTokenRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenRequest; fromJSON(object: any): SetNotificationTokenRequest; toJSON(message: SetNotificationTokenRequest): unknown; create(base?: DeepPartial): SetNotificationTokenRequest; fromPartial(object: DeepPartial): SetNotificationTokenRequest; }; readonly requestStream: false; readonly responseType: { encode(message: SetNotificationTokenResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SetNotificationTokenResponse; fromJSON(object: any): SetNotificationTokenResponse; toJSON(message: SetNotificationTokenResponse): unknown; create(base?: DeepPartial): SetNotificationTokenResponse; fromPartial(object: DeepPartial): SetNotificationTokenResponse; }; readonly responseStream: false; readonly options: {}; }; readonly getNotificationTokens: { readonly name: "GetNotificationTokens"; readonly requestType: { encode(message: GetNotificationTokensRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensRequest; fromJSON(object: any): GetNotificationTokensRequest; toJSON(message: GetNotificationTokensRequest): unknown; create(base?: DeepPartial): GetNotificationTokensRequest; fromPartial(object: DeepPartial): GetNotificationTokensRequest; }; readonly requestStream: false; readonly responseType: { encode(message: GetNotificationTokensResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GetNotificationTokensResponse; fromJSON(object: any): GetNotificationTokensResponse; toJSON(message: GetNotificationTokensResponse): unknown; create(base?: DeepPartial): GetNotificationTokensResponse; fromPartial(object: DeepPartial): GetNotificationTokensResponse; }; readonly responseStream: false; readonly options: {}; }; readonly sendNotification: { readonly name: "SendNotification"; readonly requestType: { encode(message: SendNotificationRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationRequest; fromJSON(object: any): SendNotificationRequest; toJSON(message: SendNotificationRequest): unknown; create(base?: DeepPartial): SendNotificationRequest; fromPartial(object: DeepPartial): SendNotificationRequest; }; readonly requestStream: false; readonly responseType: { encode(message: SendNotificationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse; fromJSON(object: any): SendNotificationResponse; toJSON(message: SendNotificationResponse): unknown; create(base?: DeepPartial): SendNotificationResponse; fromPartial(object: DeepPartial): SendNotificationResponse; }; readonly responseStream: false; readonly options: {}; }; readonly sendNotificationToManyDevices: { readonly name: "SendNotificationToManyDevices"; readonly requestType: { encode(message: SendNotificationToManyDevicesRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationToManyDevicesRequest; fromJSON(object: any): SendNotificationToManyDevicesRequest; toJSON(message: SendNotificationToManyDevicesRequest): unknown; create(base?: DeepPartial): SendNotificationToManyDevicesRequest; fromPartial(object: DeepPartial): SendNotificationToManyDevicesRequest; }; readonly requestStream: false; readonly responseType: { encode(message: SendNotificationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse; fromJSON(object: any): SendNotificationResponse; toJSON(message: SendNotificationResponse): unknown; create(base?: DeepPartial): SendNotificationResponse; fromPartial(object: DeepPartial): SendNotificationResponse; }; readonly responseStream: false; readonly options: {}; }; readonly sendManyNotifications: { readonly name: "SendManyNotifications"; readonly requestType: { encode(message: SendManyNotificationsRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendManyNotificationsRequest; fromJSON(object: any): SendManyNotificationsRequest; toJSON(message: SendManyNotificationsRequest): unknown; create(base?: DeepPartial): SendManyNotificationsRequest; fromPartial(object: DeepPartial): SendManyNotificationsRequest; }; readonly requestStream: false; readonly responseType: { encode(message: SendNotificationResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SendNotificationResponse; fromJSON(object: any): SendNotificationResponse; toJSON(message: SendNotificationResponse): unknown; create(base?: DeepPartial): SendNotificationResponse; fromPartial(object: DeepPartial): SendNotificationResponse; }; readonly responseStream: false; readonly options: {}; }; }; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};