interface AuthFlags { directusToken?: string; directusUrl: string; userEmail?: string; userPassword?: string; } /** * Get the Directus URL from the user * @returns The Directus URL */ export declare function getDirectusUrl(): Promise; /** * Get the Directus token from the user * @param directusUrl - The Directus URL * @returns The Directus token */ export declare function getDirectusToken(directusUrl: string): Promise; export declare function getDirectusEmailAndPassword(): Promise<{ userEmail: string; userPassword: string; }>; /** * Initialize the Directus API with the provided flags and log in the user * @param flags - The validated ApplyFlags * @returns {Promise} - Returns nothing */ export declare function initializeDirectusApi(flags: AuthFlags): Promise; /** * Validate the authentication flags * @param flags - The AuthFlags * @returns {void} - Errors if the flags are invalid */ export declare function validateAuthFlags(flags: AuthFlags): void; export {};