import type { DefaultEncodedFormatter } from '@difizen/libro-jupyter'; import { DefaultDecodedFormatter, FormatterContribution } from '@difizen/libro-jupyter'; export interface PromptDecodedFormatter extends DefaultDecodedFormatter { modelType?: string; chatKey?: string; variableName?: string; cellId?: string; record?: string; interpreterCode?: string; supportInterpreter?: 'dynamic' | 'immutable' | 'disable'; interpreterEnabled?: boolean; } export declare class FormatterPromptMagicContribution implements FormatterContribution { formatter: string; formatterOptions?: object; canHandle: (libroFormatter: string) => 1 | 100; encode: (source: PromptDecodedFormatter) => { source: string; metadata: { libroFormatter: string; interpreter: { interpreter_code: string | undefined; support_interpreter: "dynamic" | "immutable" | "disable" | undefined; interpreter_enabled: boolean | undefined; }; }; }; decode: (formatterValue: DefaultEncodedFormatter) => { value: any; variableName: any; chatKey: any; cellId: any; record: any; interpreterCode: any; supportInterpreter: any; interpreterEnabled: any; } | { value: string; variableName?: undefined; chatKey?: undefined; cellId?: undefined; record?: undefined; interpreterCode?: undefined; supportInterpreter?: undefined; interpreterEnabled?: undefined; }; validate: (source: PromptDecodedFormatter) => source is PromptDecodedFormatter; } //# sourceMappingURL=libro-formatter-prompt-magic-contribution.d.ts.map