import { TrelloAccessor } from '../../../../accessor/trello.ts';
import type { PathSpec } from '../../../../types.ts';
import type { Context } from '../../../config.ts';
import type { FlagView } from '../../../spec/flag_view.ts';
/** The install's accessor, built once from its validated config. */
export declare function trelloAccessor(config: unknown): TrelloAccessor;
/** The path a `--*_file` flag names, or null when absent. */
export declare function fileOperand(fl: FlagView, name: string): PathSpec | null;
/** A flag the verb cannot run without, refused when absent or empty. */
export declare function requiredFlag(fl: FlagView, name: string): string;
/**
 * A card's text from its flag, its `--*_file` operand, or stdin. The operand
 * is a workspace file the line names, read through `ctx.vfs` as any CLI reads
 * one: it may sit on any mount the session can read, and no mount is the
 * CLI's account. An empty inline text is the text (`--desc ''` clears a
 * description). Mirrors Python's `resolve_text_input`.
 */
export declare function resolveTextInput(ctx: Context, fl: FlagView, opts: {
    value: string;
    file: string;
    errorMessage: string;
}): Promise<string>;
//# sourceMappingURL=util.d.ts.map