export function provide(ctx: API.AccessServiceContext): Server.ServiceMethod<Server.API.Capability<"access/authorize", `did:key:${string}` & `did:${string}` & Server.API.Phantom<{
    protocol: "did:";
}>, Server.Schema.InferStruct<{
    iss: Server.Schema.Schema<(`did:mailto:${string}` & `did:${string}` & Server.API.Phantom<{
        protocol: "did:";
    }>) | undefined, any>;
    att: Server.Schema.Schema<Server.Schema.InferStruct<{
        can: Server.Schema.StringSchema<string, unknown>;
    }>[], unknown>;
}>>, API.AccessAuthorizeSuccess, Server.API.Failure | (Server.API.Failure & API.AccessAuthorizeFailure)>;
export function authorize({ capability, invocation }: API.Input<Server.TheCapabilityParser<Server.CapabilityMatch<"access/authorize", `did:key:${string}` & `did:${string}` & Server.API.Phantom<{
    protocol: "did:";
}>, Server.Schema.InferStruct<{
    iss: Server.Schema.Schema<(`did:mailto:${string}` & `did:${string}` & Server.API.Phantom<{
        protocol: "did:";
    }>) | undefined, any>;
    att: Server.Schema.Schema<Server.Schema.InferStruct<{
        can: Server.Schema.StringSchema<string, unknown>;
    }>[], unknown>;
}>>>>, ctx: API.AccessServiceContext): Promise<API.Transaction<API.AccessAuthorizeSuccess, API.AccessAuthorizeFailure>>;
import * as API from '../types.js';
import * as Server from '@ucanto/server';
//# sourceMappingURL=authorize.d.ts.map