export declare function resolveCommandsInText(text: string, depth?: number, maxDepth?: number): Promise;