import type { Node } from '@wix/ricos/schema';
import type { Node as PmNode } from '../../tiptap/pm/model';
export declare const isNodeSpaced: (nodeType: string) => boolean;
export declare const isListContainer: (nodeType?: string | null) => boolean;
/**
 * For viewer - checks node type string directly
 */
export declare const needsTopMargin: (nodeType?: string | null) => boolean;
/**
 * For editor - checks ProseMirror node, including FIGURE's first child.
 * In ProseMirror, IMAGE nodes are wrapped in FIGURE nodes, so we need to
 * check the first child to determine if it's an IMAGE with top resize handles.
 */
export declare const needsTopMarginForPmNode: (node?: PmNode | null) => boolean;
export declare const isCollapsedBetween: (firstNodeType?: string | null, secondNodeType?: string | null, parentNodeType?: string | null, options?: {
    bothFullWidth?: boolean;
}) => boolean;
export declare const isNodeFloated: (node?: Node | PmNode | null) => boolean;
export declare const isBetweenFloatedNodes: (node1?: Node | PmNode | null, node2?: Node | PmNode | null) => boolean;
/**
 * Check if a node is full-width (extended).
 * Layouts are always full-width.
 * Other plugin nodes are full-width when containerData.width.size === 'FULL_WIDTH'.
 */
export declare const isNodeFullWidth: (node?: Node | PmNode | null) => boolean;
export declare const isBetweenFullWidthNodes: (node1?: Node | PmNode | null, node2?: Node | PmNode | null) => boolean;
//# sourceMappingURL=gap-spacer-nodes.d.ts.map