import { DidStdFee, ISignInputs, AlternativeUri } from '@swisstronik/sdk'; import { IAgentPlugin, IAgentPluginSchema, VerifiableCredential } from '@veramo/core'; import { SwisstronikDIDProvider } from '../did-manager'; import { IContext, ISwisstronikPlugin, StatusList2021Revocation, StatusList2021Suspension, ISwisstronikStatusList2021Options, BulkRevocationResult, BulkSuspensionResult, BulkUnsuspensionResult, RevocationResult, SuspensionResult, UnsuspensionResult, LinkedResourceMetadataResolutionResult } from '../types'; export declare class SwisstronikPlugin implements IAgentPlugin { readonly methods?: ISwisstronikPlugin; readonly schema?: IAgentPluginSchema; private readonly supportedDidProviders; private didProvider; private providerId; static readonly defaultStatusList2021Length: number; static readonly defaultContextV1 = "https://www.w3.org/2018/credentials/v1"; static readonly statusList2021Context = "https://w3id.org/vc-status-list-2021/v1"; constructor(args: { providers: SwisstronikDIDProvider[]; }); private CreateIdentifier; private UpdateIdentifier; private DeactivateIdentifier; private CreateResource; private CreateStatusList2021; private BroadcastStatusList2021; private GenerateDidDoc; private GenerateDidDocWithLinkedResource; private GenerateIdentityKeys; private GenerateVersionId; private GenerateStatusList2021; private IssueRevocableCredentialWithStatusList2021; private IssueSuspendableCredentialWithStatusList2021; private VerifyCredentialWithStatusList2021; private VerifyPresentationWithStatusList2021; private CheckCredentialStatusWithStatusList2021; private RevokeCredentialWithStatusList2021; private RevokeBulkCredentialsWithStatusList2021; private SuspendCredentialWithStatusList2021; private SuspendBulkCredentialsWithStatusList2021; private UnsuspendCredentialWithStatusList2021; private UnsuspendBulkCredentialsWithStatusList2021; private TransactSendTokens; private ObservePaymentCondition; static revokeCredential(credential: VerifiableCredential, options?: ISwisstronikStatusList2021Options): Promise; static revokeCredentials(credentials: VerifiableCredential[], options?: ISwisstronikStatusList2021Options): Promise; static suspendCredential(credential: VerifiableCredential, options?: ISwisstronikStatusList2021Options): Promise; static suspendCredentials(credentials: VerifiableCredential[], options?: ISwisstronikStatusList2021Options): Promise; static unsuspendCredential(credential: VerifiableCredential, options?: ISwisstronikStatusList2021Options): Promise; static unsuspendCredentials(credentials: VerifiableCredential[], options?: ISwisstronikStatusList2021Options): Promise; static checkRevoked(credential: VerifiableCredential, options?: ISwisstronikStatusList2021Options): Promise; static checkSuspended(credential: VerifiableCredential, options?: ISwisstronikStatusList2021Options): Promise; static publishStatusList2021(statusList2021Raw: Uint8Array, statusList2021Metadata: LinkedResourceMetadataResolutionResult, options: { context: IContext; resourceId?: string; resourceVersion?: string; resourceAlsoKnownAs?: AlternativeUri[]; signInputs?: ISignInputs[]; fee?: DidStdFee; }): Promise; static fetchStatusList2021(credential: VerifiableCredential, returnRaw?: boolean): Promise; static fetchStatusList2021Metadata(credential: VerifiableCredential): Promise; static loadProvider(didUrl: string, providers: SwisstronikDIDProvider[]): Promise; static generateProviderId(): string; static getFile(filename: string): Promise; static writeFile(content: Uint8Array, filename?: string): Promise; static decodeCredentialJWT(jwt: string): Promise; } //# sourceMappingURL=swisstronikPlugin.d.ts.map