import * as PeerId from 'peer-id'; export interface Trust { issuedFor: PeerId; expiresAt: number; signature: string; issuedAt: number; } export declare function trustToString(trust: Trust): string; export declare function trustFromString(issuedFor: string, signature: string, expiresAt: string, issuedAt: string): Promise; export declare function createTrust(forPk: PeerId, issuedBy: PeerId, expiresAt: number, issuedAt: number): Promise; //# sourceMappingURL=trust.d.ts.map