import type { DisposablesGroup } from './disposables-group.js'; export type GroupConstraints = { before: string; after?: string; } | { after: string; before?: string; }; export interface DisposalGroup { name: string; disposables: DisposablesGroup; } /** * @internal * given groups and a lists of constraints, throws if the constraints contradict each other * @returns the indices of the dominant constrains */ export declare const getGroupConstrainedIndex: (newGroupConstrains: GroupConstraints[], existingGroups: DisposalGroup[]) => { lastAfter: number; firstBefore: number; }; export declare const normalizeConstraints: (constraints: GroupConstraints | GroupConstraints[], name: string, groups: DisposalGroup[]) => GroupConstraints[]; //# sourceMappingURL=constraints.d.ts.map