import { ObjectItem } from '../../../types/form';
import { ApiStatus } from '../../../types/api';
import { OptionType } from '@connector/ui';
import { ICard } from '../../../types/cards';
import { WriteFormFields, WriteFormState } from '../types/form';
export interface CustomOptionType extends OptionType {
    connectorKey?: string;
}
interface OptionsData {
    options: OptionType[];
    hasMore: boolean;
    currentPage: number;
}
export interface WriteCapabilityState {
    createObjectList: CustomOptionType[];
    createObjectConnectorNamesList: string[];
    linkObjectList: OptionType[];
    editObjectList: OptionType[];
    searchObjectList: OptionType[];
    objectDict: {
        [key: string]: ObjectItem;
    } | null;
    formFields: {
        [key: string]: WriteFormFields[];
    } | null;
    objectListApiStatus: ApiStatus;
    unlinkCardApiStatus: ApiStatus;
    linkCardApiStatus: ApiStatus;
    optionsMap: {
        [key: string]: OptionsData;
    } | null;
    dependentFieldsMap: {
        [key: string]: {
            [key: string]: string[];
        };
    };
    dropdownOptionsApis: ApiStatus;
    createFormApiStatus: ApiStatus;
    updateFormApiStatus: ApiStatus;
    currentResourceDetailsApiStatus: ApiStatus;
    currentResourceDetails: WriteFormState | null;
    currentCardInEdit: ICard | null;
    hasUnsavedChanges: boolean;
}
export declare const initialState: WriteCapabilityState;
export {};
//# sourceMappingURL=initial-state.d.ts.map