import { Pool } from "../../api/"; /** * @dev Validates if a user has access to a private pool * @param pool The pool to check access for * @param user The user address to validate * @throws UnauthorizedError if user is not whitelisted for private pools */ export declare function validateOrRejectPrivatePoolAccess(pool: Pool, user: string): void; /** * @dev Checks if a user can make a pool public * @param pool The pool to check * @param user The user address to validate * @returns true if user can make the pool public */ export declare function canMakePoolPublic(pool: Pool, user: string): boolean; /** * @dev Checks if a user is whitelisted for a pool * @param pool The pool to check * @param user The user address to validate * @returns true if user is whitelisted or pool is public */ export declare function isWhitelisted(pool: Pool, user: string): boolean; //# sourceMappingURL=privatePoolUtils.d.ts.map