import type { Token } from '@interslavic/conllu'; import type { Lemma } from '../schema.ts'; import type { KnownForm } from '../inflect/inflect.ts'; import { type SteenInput } from '../normalize.ts'; import { type DerivationCode } from './virtual-id.ts'; export type DeriveInput = string | KnownForm | SteenInput | Lemma | { lemma: Lemma; lid?: string; }; export interface DeriveOptions { /** Filter by specific derivation codes (e.g. ['v_prap', 'v_noun']) */ types?: DerivationCode[]; /** Include analytical forms @default true */ includeAnalytical?: boolean; } export declare function derive(input: DeriveInput | DeriveInput[], options?: DeriveOptions): Token[]; export declare function canDerive(input: DeriveInput): boolean;