import { ErrorMode } from './types';
export declare const useScreenType: () => {
    isDesktop: boolean;
    isTablet: boolean;
    isMobile: boolean;
};
/**
 * Generates an ID that can be used on an HTML field to associate it with a label for a11y happiness.
 *
 * @param fieldType The type of the field that will use the ID, e.g. 'input'. This can be anything, and is simply
 * used as a prefix for a generated ID to make it look less like garbage.
 * @param suppliedId The ID as supplied to the field. If this is truthy, it will be used as-is.
 * @param suppliedName The name as supplied to the field. If this is truthy, it will be used in the generated ID.
 * @returns An id string that can be used for the field.
 */
export declare const useHtmlId: (fieldType: string, suppliedId?: string | null, suppliedName?: string | null) => string;
export declare const useFieldErrorMessage: (fieldName: string, errorMode?: ErrorMode) => string | undefined;
