import { Certificate } from '@relaycorp/relaynet-core'; import { Endpoint } from './Endpoint'; import { EndpointChannel } from './EndpointChannel'; import { ThirdPartyEndpoint } from './thirdPartyEndpoints'; export declare class FirstPartyEndpoint extends Endpoint { identityCertificate: Certificate; privateKey: CryptoKey; gatewayInternetAddress: string; static generate(): Promise; static loadActive(): Promise; static loadAll(): Promise; constructor(identityCertificate: Certificate, privateKey: CryptoKey, id: string, gatewayInternetAddress: string); getChannel(thirdPartyEndpoint: ThirdPartyEndpoint): EndpointChannel; issueAuthorization(thirdPartyEndpoint: ThirdPartyEndpoint, expiryDate: Date): Promise; }