import { ComparatorByOptionsComputer } from '../../utils/compare/default-comparator-by-options-computer.js' import { CommonOptions, TypeOption } from '../../types/common-options.js' import { SortingNode } from '../../types/sorting-node.js' /** * Builds a comparator computer for sorting switch case blocks. * * Keeps `lastBlockToKeepInPlace` last and the block with the default clause * after all other blocks, which are compared by their first case. The options * passed to the computer are ignored, so blocks never use `fallbackSort`. * * @param props - Configuration object. * @param props.lastBlockToKeepInPlace - Block that must stay last, if any. * @param props.options - Sorting options. * @returns A comparator computer for case blocks. */ export declare function buildCaseBlockComparatorByOptionsComputer< Node extends { isDefaultClause: boolean } & SortingNode, >({ lastBlockToKeepInPlace, options, }: { lastBlockToKeepInPlace: Node | null options: CommonOptions }): ComparatorByOptionsComputer, Node>