import type { StructMethod } from "../types/struct-member.js"; import type { MethodSpec } from "../types/trait-schema.js"; export declare function method(handler: (self: TSelf, ...args: TArgs) => TResult): StructMethod; export declare function method(options?: { default?: (self: TSelf, ...args: TArgs) => TResult; abstract?: boolean; }): MethodSpec<(self: TSelf, ...args: TArgs) => TResult>;