declare function useAddCategory(): {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    isPlaceholderData: false;
    status: "error";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchNextPageError: boolean;
    isFetchingNextPage: boolean;
    isFetchPreviousPageError: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
} | {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    error: null;
    isError: false;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: true;
    isPlaceholderData: false;
    status: "success";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
} | {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: true;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "error";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
} | {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    error: null;
    isError: false;
    isPending: true;
    isLoading: true;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "pending";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
} | {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    isSuccess: false;
    isPlaceholderData: false;
    status: "pending";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isLoading: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
} | {
    categories: Amity.Category[];
    styles: {
        container: {
            flex: number;
            backgroundColor: string;
        };
        categoryContainer: {
            paddingBottom: number;
        };
        skeletonContainer: {
            padding: number;
            gap: number;
        };
        selectedCategoriesContainer: {
            gap: number;
            flexWrap: "wrap";
            paddingVertical: number;
            flexDirection: "row";
            borderBottomWidth: number;
            paddingHorizontal: number;
            alignItems: "flex-start";
            backgroundColor: string;
            borderBottomColor: string;
        };
        categoryOption: {
            gap: number;
        };
        categoryLabel: {
            flex: number;
            gap: number;
            flexDirection: "row";
            alignItems: "center";
        };
        categoryImage: {
            width: number;
            height: number;
            borderRadius: number;
            objectFit: "cover";
        };
        categoryLabelText: {
            flexShrink: number;
        };
        submitButtonContainer: {
            flex: number;
            left: number;
            right: number;
            bottom: number;
            padding: number;
            zIndex: number;
            borderTopWidth: number;
            position: "absolute";
            paddingBottom: number;
            borderTopColor: string;
            backgroundColor: string;
        };
    };
    theme: import("../../../../../core/providers/AmityUIKitProvider").MyMD3Theme;
    isDirty: boolean;
    isSubmitting: boolean;
    isValid: boolean;
    handleSubmit: import("react-hook-form").UseFormHandleSubmit<{
        categories: Amity.Category[];
    }, {
        categories: Amity.Category[];
    }>;
    control: import("react-hook-form").Control<{
        categories: Amity.Category[];
    }, any, {
        categories: Amity.Category[];
    }>;
    onSubmit: () => void;
    data: Amity.Category[];
    isError: false;
    error: null;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    isPlaceholderData: true;
    isFetchNextPageError: false;
    isFetchPreviousPageError: false;
    status: "success";
    fetchNextPage: (options?: import("@tanstack/query-core").FetchNextPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchPreviousPage: (options?: import("@tanstack/query-core").FetchPreviousPageOptions) => Promise<import("@tanstack/query-core").InfiniteQueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    isFetchingNextPage: boolean;
    isFetchingPreviousPage: boolean;
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isRefetching: boolean;
    isStale: boolean;
    isEnabled: boolean;
    refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }, Error>>;
    fetchStatus: import("@tanstack/query-core").FetchStatus;
    promise: Promise<{
        pages: {
            data: Amity.Category[];
            hasNextPage?: boolean;
            onNextPage?: () => void;
        }[];
        pageParams: (() => void)[];
    }>;
};
export default useAddCategory;
//# sourceMappingURL=useAddCategory.d.ts.map