import type { Accountability, SchemaOverview } from '@directus/types';
/**
 * Build a sanitized query object from a tool's args payload.
 * - Ensures fields defaults to '*' when not provided
 * - Returns an empty object when no args.query is present
 */
export declare function buildSanitizedQueryFromArgs<T extends {
    query?: Record<string, any> | undefined;
}>(args: T, schema: SchemaOverview, accountability?: Accountability | null): Promise<Record<string, any>>;
