import { ReactNode } from 'react';
export declare const isIcon: (node: ReactNode, options?: {
    checkChildren?: boolean;
}) => boolean;
/**
 * Split a component's children into chunks of content (text and other elements) delimited by icons.
 */
export declare const getChildrenChunks: (children: ReactNode, trimWhitespace?: boolean) => {
    children: ReactNode[];
    isIcon: boolean;
}[];
//# sourceMappingURL=getChildrenChunks.d.ts.map