import { HttpCServerMiddleware } from "@httpc/server";
import { JwtPayload } from "./JwtService";
export type AuthenticationBearerMiddlewareOptions = {
    jwtSecret?: string;
    onAuthenticate?: (token: string) => Promise<IUser>;
    onDecode?: (payload: JwtPayload) => IUser | Promise<IUser>;
};
export declare function AuthenticationBearerMiddleware(options?: AuthenticationBearerMiddlewareOptions): HttpCServerMiddleware;
