import React from "react";
export declare const hex2rgba: (hex: string, alpha?: number) => string;
export declare const useBackdrop: ({ id, onClick, zIndex, }: {
    id: string;
    onClick: () => void;
    zIndex?: number | undefined;
}) => {
    open: boolean;
    setOpen: React.Dispatch<React.SetStateAction<boolean>>;
};
export declare const prepareContentSubmission: (text: any, uploadFunction: (src: string) => Promise<string>) => Promise<string>;
export declare const lightenColor: (color: string, lightenPercentage: number) => string;
export declare const darkenColor: (color: string, darkenPercentage: number) => string;
