import type { CommercialAuthorizationResponse, ProcessOrderAuthorizationRule } from '../../../__generated__/schema'; /** * Extracts the first pending rule for authorization where the user is the next authorizer. * Returns null if no such rule exists or if the commercial authorization is not pending. */ export declare function extractRuleForAuthorization(commercialAuth: CommercialAuthorizationResponse | null | undefined): ProcessOrderAuthorizationRule | null; /** * Checks if there are pending rules for other authorizers in the commercial authorization. * Returns true if all pending rules are not for the current user (i.e., the user is not the next authorizer). */ export declare function isPendingForOtherAuthorizer(commercialAuth: CommercialAuthorizationResponse | null | undefined): boolean; //# sourceMappingURL=commercialAuth.d.ts.map