import type { CommitmentDefinition } from '../_base/CommitmentDefinition';
/**
 * Sorting options for commitment definitions.
 *
 * @private internal helper of commitment catalog sorting
 */
type CommitmentDefinitionSortOptions = {
    /**
     * When enabled, deprecated commitments are moved behind all non-deprecated commitments.
     */
    readonly isDeprecatedLast?: boolean;
    /**
     * When enabled, unfinished commitments are moved behind all other commitments.
     */
    readonly isUnfinishedLast?: boolean;
    /**
     * When enabled, low-level commitments are moved behind all other commitments.
     */
    readonly isLowLevelLast?: boolean;
};
/**
 * Sorts commitment definitions so the important ones stay at the top.
 *
 * @param commitmentDefinitions - Definitions to sort.
 * @param options - Sorting options.
 * @returns Sorted commitment definitions.
 *
 * @private internal helper of commitment catalog sorting
 */
export declare function sortCommitmentDefinitions<TCommitmentDefinition extends CommitmentDefinition>(commitmentDefinitions: ReadonlyArray<TCommitmentDefinition>, options?: CommitmentDefinitionSortOptions): ReadonlyArray<TCommitmentDefinition>;
export {};
