import { RenderDef } from './data_styles';
import { RendererOptions } from './renderer_types';
import { Field } from '../data_tree';
import type * as Malloy from '@malloydata/malloy-interfaces';
export declare function getColorScale(type: 'temporal' | 'ordinal' | 'quantitative' | 'nominal' | undefined, isRectMark: boolean, hasOverlappingText?: boolean): {
    range: string[];
} | undefined;
export declare function timeToString(time: Date, timeframe: Malloy.DateTimeframe | Malloy.TimestampTimeframe | undefined, timezone?: string): string;
export declare function normalizeToTimezone(date: Date, timezone: string | undefined): Date;
export declare function yieldTask(): Promise<void>;
export declare function createErrorElement(document: Document, error: string | Error): HTMLElement;
export declare function createNullElement(document: Document): HTMLElement;
export declare function createDrillIcon(document: Document): HTMLElement;
export declare function formatTitle(options: RendererOptions, field: Field, renderDef?: RenderDef | undefined, timezone?: string): string;
