/** * MultiSigSmartAccount.initialize iterates owners with a `uint8` counter, so an * owner list longer than 255 makes the counterfactual address undeployable * (funds sent to it are stuck). AA-8. */ export declare const MAX_ACCOUNT_OWNERS = 255; /** * Number of owner combinations the combination helpers produce for `keyCount` * keys: combinations of size >= x (default), or exactly x when `exact`. * Returns MAX_ACCOUNT_OWNERS + 1 as soon as the count exceeds the cap. */ export declare function countOwnerCombinations(keyCount: number, x?: number, exact?: boolean): number; /** * Throws before any combination is generated if the resulting owner list * could not be deployed (> MAX_ACCOUNT_OWNERS entries). */ export declare function assertOwnerCombinationCount(keyCount: number, x?: number, exact?: boolean): void; /** * Validate a MultiSigSmartAccount owner list before an address or initCode is * computed from it (AA-4 / AA-8): 1..255 entries, each a valid 20-byte * address, none the zero address (the on-chain verifier returns address(0) on * a failed Schnorr check, so a zero owner would accept garbage signatures), * and no duplicates. Returns the list unchanged. */ export declare function validateAccountOwners(owners: readonly T[]): readonly T[];