import React from 'react';
import { changeDraftField as changeDraftFieldAction } from '@staticcms/core/actions/entries';
import type { Field, FieldsErrors, I18nSettings, UnknownField, ValueOrNestedValue } from '@staticcms/core/interface';
import type { ConnectedProps } from 'react-redux';
interface EditorControlOwnProps {
    field: Field;
    fieldsErrors: FieldsErrors;
    submitted: boolean;
    disabled?: boolean;
    parentDuplicate?: boolean;
    locale?: string;
    parentPath: string;
    value: ValueOrNestedValue;
    forList?: boolean;
    listItemPath?: string;
    forSingleList?: boolean;
    i18n: I18nSettings | undefined;
    fieldName?: string;
    controlled?: boolean;
    isMeta?: boolean;
}
declare const connector: import("react-redux").InferableComponentEnhancerWithProps<{
    config: import("../../../reducers/config").ConfigState<UnknownField>;
    entry: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue> | undefined;
    collection: import("@staticcms/core/interface").Collection<UnknownField> | null;
    collectionFile: import("@staticcms/core/interface").CollectionFile<UnknownField> | undefined;
    isLoadingAsset: boolean;
    field: Field;
    fieldsErrors: FieldsErrors;
    submitted: boolean;
    disabled?: boolean | undefined;
    parentDuplicate?: boolean | undefined;
    locale?: string | undefined;
    parentPath: string;
    value: ValueOrNestedValue;
    forList?: boolean | undefined;
    listItemPath?: string | undefined;
    forSingleList?: boolean | undefined;
    i18n: I18nSettings | undefined;
    fieldName?: string | undefined;
    controlled?: boolean | undefined;
    isMeta?: boolean | undefined;
} & {
    changeDraftField: typeof changeDraftFieldAction;
    query: (namespace: string, collectionName: string, searchFields: string[], searchTerm: string, file?: string | undefined, limit?: number | undefined) => Promise<{
        readonly type: "QUERY_SUCCESS";
        readonly payload: {
            readonly namespace: string;
            readonly hits: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue>[];
        };
    } | {
        readonly type: "QUERY_FAILURE";
        readonly payload: {
            readonly error: Error;
        };
    } | undefined>;
}, EditorControlOwnProps>;
export type EditorControlProps = ConnectedProps<typeof connector>;
declare const _default: import("react-redux").ConnectedComponent<React.ComponentType<{
    config: import("../../../reducers/config").ConfigState<UnknownField>;
    entry: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue> | undefined;
    collection: import("@staticcms/core/interface").Collection<UnknownField> | null;
    collectionFile: import("@staticcms/core/interface").CollectionFile<UnknownField> | undefined;
    isLoadingAsset: boolean;
    field: Field;
    fieldsErrors: FieldsErrors;
    submitted: boolean;
    disabled?: boolean | undefined;
    parentDuplicate?: boolean | undefined;
    locale?: string | undefined;
    parentPath: string;
    value: ValueOrNestedValue;
    forList?: boolean | undefined;
    listItemPath?: string | undefined;
    forSingleList?: boolean | undefined;
    i18n: I18nSettings | undefined;
    fieldName?: string | undefined;
    controlled?: boolean | undefined;
    isMeta?: boolean | undefined;
} & {
    changeDraftField: typeof changeDraftFieldAction;
    query: (namespace: string, collectionName: string, searchFields: string[], searchTerm: string, file?: string | undefined, limit?: number | undefined) => Promise<{
        readonly type: "QUERY_SUCCESS";
        readonly payload: {
            readonly namespace: string;
            readonly hits: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue>[];
        };
    } | {
        readonly type: "QUERY_FAILURE";
        readonly payload: {
            readonly error: Error;
        };
    } | undefined>;
}>, {
    field: Field;
    fieldsErrors: FieldsErrors;
    submitted: boolean;
    disabled?: boolean | undefined;
    parentDuplicate?: boolean | undefined;
    locale?: string | undefined;
    parentPath: string;
    value: ValueOrNestedValue;
    forList?: boolean | undefined;
    listItemPath?: string | undefined;
    forSingleList?: boolean | undefined;
    i18n: I18nSettings | undefined;
    fieldName?: string | undefined;
    controlled?: boolean | undefined;
    isMeta?: boolean | undefined;
    context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
    store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
} | {
    ref?: React.LegacyRef<React.Component<{
        config: import("../../../reducers/config").ConfigState<UnknownField>;
        entry: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue> | undefined;
        collection: import("@staticcms/core/interface").Collection<UnknownField> | null;
        collectionFile: import("@staticcms/core/interface").CollectionFile<UnknownField> | undefined;
        isLoadingAsset: boolean;
        field: Field;
        fieldsErrors: FieldsErrors;
        submitted: boolean;
        disabled?: boolean | undefined;
        parentDuplicate?: boolean | undefined;
        locale?: string | undefined;
        parentPath: string;
        value: ValueOrNestedValue;
        forList?: boolean | undefined;
        listItemPath?: string | undefined;
        forSingleList?: boolean | undefined;
        i18n: I18nSettings | undefined;
        fieldName?: string | undefined;
        controlled?: boolean | undefined;
        isMeta?: boolean | undefined;
    } & {
        changeDraftField: typeof changeDraftFieldAction;
        query: (namespace: string, collectionName: string, searchFields: string[], searchTerm: string, file?: string | undefined, limit?: number | undefined) => Promise<{
            readonly type: "QUERY_SUCCESS";
            readonly payload: {
                readonly namespace: string;
                readonly hits: import("@staticcms/core/interface").Entry<import("@staticcms/core/interface").ObjectValue>[];
            };
        } | {
            readonly type: "QUERY_FAILURE";
            readonly payload: {
                readonly error: Error;
            };
        } | undefined>;
    }, any, any>> | undefined;
    key?: React.Key | null | undefined;
    css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
    field: Field;
    fieldsErrors: FieldsErrors;
    submitted: boolean;
    disabled?: boolean | undefined;
    parentDuplicate?: boolean | undefined;
    locale?: string | undefined;
    parentPath: string;
    value: ValueOrNestedValue;
    forList?: boolean | undefined;
    listItemPath?: string | undefined;
    forSingleList?: boolean | undefined;
    i18n: I18nSettings | undefined;
    fieldName?: string | undefined;
    controlled?: boolean | undefined;
    isMeta?: boolean | undefined;
    context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
    store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
}>;
export default _default;
