import { type BaseComponent } from '../../base_component.js'; import { type Constructor } from '../../types.js'; export declare function HandlesState>(Base: T): { new (...args: any[]): { /** * Fill component properties with matching keys from data object */ fill(data: Record): /*elided*/ any; /** * Reset component properties to their initial values */ reset(...properties: (string | string[])[]): /*elided*/ any; /** * Reset all component properties except the specified ones */ resetExcept(...properties: (string | string[])[]): /*elided*/ any; /** * Retrieve the current value of a property and reset it to its initial value */ pull(property: K): any; /** * Return an object containing only the specified component properties */ only(...properties: (string | string[])[]): Record; /** * Return an object containing all component properties except the specified ones */ except(...properties: (string | string[])[]): Record; "__#170@#id": string; "__#170@#name": string; "__#170@#viewPath": string; "__#170@#view": ReturnType; "__#170@#viewData": Record; "__#170@#router": import("@adonisjs/core/types").HttpRouterService; bindings: any; app: import("@adonisjs/core/types").ApplicationService; ctx: import("@adonisjs/http-server").HttpContext; __setRouter(router: import("@adonisjs/core/types").HttpRouterService): void; __getRouter(): import("@adonisjs/core/types").HttpRouterService; __id: string; __name: string; viewPath: string; view: ReturnType; viewData: Record; setId(id: string): void; getId(): string; setName(name: string): void; setViewPath(view: string): void; getName(): string; render(): Promise; skipRender(html?: string): void; transition(type?: string): void; skipTransition(): void; shouldSkipRender(): boolean; skipMount(): void; skipHydrate(): void; }; } & T;