export interface WidgetStateContext {
    docMode: string;
    isEditMode: boolean;
    isPrintMode: boolean;
    formType?: string;
    viewState?: string;
    required?: boolean;
    newRequired?: boolean;
    readonly?: boolean;
    newReadonly?: boolean;
    disabled?: boolean;
    newDisabled?: boolean;
    cannotInput?: boolean;
    isLinkedModelField?: boolean;
}
export declare function resolveWidgetState(ctx: WidgetStateContext): {
    required: boolean;
    readonly: boolean;
    disabled: boolean;
    displayStatus: "readonly-component" | "readonly-text" | "edit-component";
};
