/* eslint-disable */
// @generated by protobuf-ts 2.11.1 with parameter output_javascript,optimize_code_size,long_type_string,add_pb_suffix,ts_nocheck,eslint_disable
// @generated from protobuf file "agent/v1/credentials.proto" (package "agent.v1", syntax proto3)
// tslint:disable
// @ts-nocheck
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Timestamp } from "../../google/protobuf/timestamp_pb";
/**
 * @generated from protobuf message agent.v1.OAuthToken
 */
export interface OAuthToken {
    /**
     * The OAuth token.
     *
     * @generated from protobuf field: string access_token = 1
     */
    accessToken: string;
    /**
     * The type of the token.
     * e.g. "Bearer"
     *
     * @generated from protobuf field: string token_type = 2
     */
    tokenType: string;
    /**
     * @generated from protobuf field: string refresh_token = 3
     */
    refreshToken: string;
    /**
     * The expiration time of the token in seconds since epoch.
     *
     * @generated from protobuf field: int64 expires_at = 4
     */
    expiresAt: string;
    /**
     * Expiration time
     *
     * @generated from protobuf field: google.protobuf.Timestamp expiry = 5
     */
    expiry?: Timestamp;
    /**
     * @generated from protobuf field: int64 expires_in = 6
     */
    expiresIn: string;
}
declare class OAuthToken$Type extends MessageType<OAuthToken> {
    constructor();
    create(value?: PartialMessage<OAuthToken>): OAuthToken;
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OAuthToken): OAuthToken;
    internalBinaryWrite(message: OAuthToken, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
}
/**
 * @generated MessageType for protobuf message agent.v1.OAuthToken
 */
export declare const OAuthToken: OAuthToken$Type;
export {};
