import { Attribute } from '../ipv8/types/Attribute'; import { Dict } from "../ipv8/types/Dict"; import { Credential, ProcedureDescription } from '../types/types'; /** The API endpoint paths */ export declare const paths: { [k in keyof IAttestationServerRESTAPI]: string; }; /** We share a typescript interface between front and backend. */ export interface IAttestationServerRESTAPI { about: () => Promise; procedure: (req: ReqProcedure) => Promise; } export interface ServerDescriptor { id: string; mid_b64: string; url: string; /** Title for each language */ title: Dict; /** Description for each language */ description: Dict; website: string; logo_url: string; /** All available procedures at this provider */ procedures: Dict; } export interface ReqProcedure { procedure_id: string; mid_b64: string; credentials: Credential[]; }