import { AccountModel } from '../models';
/**
 * Registers a one-time callback that is triggered once the user becomes authenticated.
 * Useful for executing logic only after login without manually tracking auth state.
 *
 * @param {function(Account): void} callback - Callback function to invoke with authenticated account data.
 */
export declare function onAuthenticated(callback: (account: AccountModel) => void): void;
/**
 * Registers a one-time callback that runs after the user is authenticated
 * and has the specified permission. Helps in delaying logic until
 * the user meets both conditions.
 *
 * @param {string} permission - Permission string to check against the user's perms.
 * @param {function(Account): void} callback - Function to run if auth and permission checks pass.
 */
export declare function onAuthenticatedWith(permission: string, callback: (account: AccountModel) => void): void;
