import * as React from "react"; import type { PerseusDependenciesV2, WidgetProps } from "../../types"; import type { PerseusCategorizerWidgetOptions, PerseusCategorizerUserInput } from "@khanacademy/perseus-core"; type ExternalProps = WidgetProps; type Props = ExternalProps & { linterContext: NonNullable; dependencies: PerseusDependenciesV2; }; /** * @deprecated and likely a very broken API * [LEMS-3185] do not trust serializedState */ declare function getUserInputFromSerializedState(serializedState: any): PerseusCategorizerUserInput; /** * you need this along with _getAllWidgetsStartProps * to generate userInput for static widgets */ declare function getCorrectUserInput(options: PerseusCategorizerWidgetOptions): PerseusCategorizerUserInput; declare function getStartUserInput(): PerseusCategorizerUserInput; declare const _default: { name: string; displayName: string; hidden: true; widget: React.ForwardRefExoticComponent & React.RefAttributes>; getUserInputFromSerializedState: typeof getUserInputFromSerializedState; getCorrectUserInput: typeof getCorrectUserInput; getStartUserInput: typeof getStartUserInput; isLintable: true; }; export default _default;