/// import { LocalAuthenticationOAuth, LocalOAuth2TokenData } from "../types"; export declare const defaultScope = "repository:user/image:pull"; export declare function createOauthWwwAuthenticateFromConfig(config: LocalAuthenticationOAuth): string; export declare function extractTokenFromAuthHeader(values: string[]): string | undefined; export declare function extractDataFromToken(token: string, jwtSecret: string | Buffer): LocalOAuth2TokenData; export declare function createTokenWithData(data: LocalOAuth2TokenData, jwtSecret: string | Buffer, lifetime: number | undefined): string;