import { OptionType } from '@connector/ui';
import { InterfaceDetails, FormFields, PreviewArgs } from '../types/form';
export declare const commonSlice: import('@reduxjs/toolkit').Slice<import('./initial-state').CommonSliceState, {
    resetState: () => import('./initial-state').CommonSliceState;
    resetPreviewCardData: (state: import('immer').WritableDraft<import('./initial-state').CommonSliceState>) => void;
    setSelectedSuggestionType: (state: import('immer').WritableDraft<import('./initial-state').CommonSliceState>, action: {
        payload: any;
        type: string;
    }) => void;
}, "commonSlice", "commonSlice", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').CommonSliceState>>;
export declare const createDropdownOption: import('@reduxjs/toolkit').AsyncThunk<{
    hasMore?: boolean | undefined;
    currentPage?: number | undefined;
    searchTerm?: string | undefined;
    optionsList: OptionType[];
    key: string;
}, {
    fieldName: string;
    formId: string;
    label: string;
    interfaceId: string;
    conversationId?: number;
    callback?: (option: OptionType[]) => void;
    args?: {
        [key: string]: string | number | boolean | null;
    };
    createArgs?: {
        [key: string]: string | number | boolean | null;
    };
}, {
    state?: unknown;
    dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const fetchDropDownOptions: import('@reduxjs/toolkit').AsyncThunk<{
    optionsList: OptionType[];
    key: string;
    hasMore: boolean;
    options: OptionType[];
    currentPage: number;
    searchTerm: string;
    fieldName?: undefined;
    formId?: undefined;
} | {
    optionsList: OptionType[];
    fieldName: string;
    formId: string;
    searchTerm: string;
    currentPage: number;
    hasMore: boolean;
    key: string;
}, {
    fieldName: string;
    formId: string;
    searchTerm: string;
    fieldConfig: FormFields;
    interfaceId?: string;
    pagination: InterfaceDetails["pagination"];
    callback?: (options: OptionType[]) => void;
    args?: {
        [key: string]: string | number | boolean | null;
    };
    isScrollToBottomEvent?: boolean;
    controller?: AbortController;
}, {
    state?: unknown;
    dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
export declare const previewCard: import('@reduxjs/toolkit').AsyncThunk<{
    data: null;
} | {
    data: import('../types/cards').ISpecificCard;
}, {
    id: string;
    args: PreviewArgs;
    channelType?: string;
    isRefresh?: boolean;
}, {
    state?: unknown;
    dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
    extra?: unknown;
    rejectValue?: unknown;
    serializedErrorType?: unknown;
    pendingMeta?: unknown;
    fulfilledMeta?: unknown;
    rejectedMeta?: unknown;
}>;
declare const resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"commonSlice/resetState">, resetPreviewCardData: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"commonSlice/resetPreviewCardData">, setSelectedSuggestionType: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "commonSlice/setSelectedSuggestionType">;
declare const _default: import('redux').Reducer<import('./initial-state').CommonSliceState>;
export default _default;
export { resetState, resetPreviewCardData, setSelectedSuggestionType };
//# sourceMappingURL=slice.d.ts.map