import { type State } from '../state.js'; import { type CallbackResponse, type Request as BaseRequest, type Response } from '../router/index.js'; import { Container } from "@akala/commands"; export default function route(this: State, route: string, target: Container, options: { pre?: boolean; auth?: boolean; app?: boolean; get?: boolean; use?: boolean; }): void; export declare function translateRequest(req: BaseRequest): Promise & { user?: unknown; }>; export declare function handleResponse(res: Response, locationReplacer: (key: string) => string, defaultStatus: number): (response: CallbackResponse) => void;