import { AccessTokenRequest, AccessTokenResponse } from '../access-token'; import { HandleClientAuthentication } from '../client-authentication'; import { AssertAccessTokenScope } from '../access-token-scope'; import { IssueAccessToken } from '../issue-access-token'; export declare type HandleClientCredentialsGrant = (req: AccessTokenRequest) => Promise; export declare const makeHandleClientCredentialsGrant: ({ handleClientAuthentication, issueAccessToken, assertAccessTokenScope, }: { handleClientAuthentication: HandleClientAuthentication; issueAccessToken: IssueAccessToken; assertAccessTokenScope: AssertAccessTokenScope; }) => { handleClientCredentialsGrant: HandleClientCredentialsGrant; };