/** * Mocked Gateway/Content Serve service * * @param {{ ok: any } | { error: Server.API.Failure }} result */ export function getContentServeMockService(result?: { ok: any; } | { error: Server.API.Failure; }): { access: { delegate: Client.ServiceMethod, Pick<{ delegations: AccessCaps.Access.AccessDelegateDelegations; }, "delegations">>, {}, Client.Failure>; }; }; /** * Creates a new Ucanto server with the given options. * * @param {any} id * @param {any} service */ export function createUcantoServer(id: any, service: any): Client.ServerView; /** * Generic function to create connection to any type of mock service with any type of signer id. * * @param {any} id * @param {any} service * @param {string | undefined} [url] */ export function getConnection(id: any, service: any, url?: string | undefined): { connection: Client.ConnectionView; }; import * as Server from '@ucanto/server'; import * as Client from '@ucanto/client'; import * as AccessCaps from '@storacha/capabilities'; //# sourceMappingURL=service.d.ts.map