import type { RestApplication } from '../../../applications/rest'; import { BaseComponent } from '../../base'; import type { Env, Schema } from 'hono'; /** * Generic over the same Hono env/schema/base-path `RestApplication` is: a bare `RestApplication` * parameter (defaulting to `RestApplication`) fails to typecheck when passed `this` * from inside a differently-instantiated generic `RestApplication` subclass - `defaultHook`'s * contravariance makes the defaulted instantiation incompatible with an arbitrary one. Matching the * caller's own instantiation here removes the mismatch instead of widening to `any`. */ export declare class RestComponent extends BaseComponent { private application; constructor(application: RestApplication); binding(): Promise; } //# sourceMappingURL=rest.component.d.ts.map