/** @internal NOTE: Internal APIs. Subject to change. Use of these APIs in production applications is not supported. */ /** */
import { Camera, DeepImmutable, ISize } from '../loader/babylonjs-import';
/**
 * Options for {@link IconSizeCalculator}.
 */
export interface IconSizeOptions {
    resolution?: number;
    atFov?: number;
}
/**
 * Calculates icon size. Used by {@link IconHandler} to calculate the size
 * a icon shall be rendered with.
 */
export declare class IconSizeCalculator {
    private readonly _atFovK;
    readonly options: DeepImmutable<Required<IconSizeOptions>>;
    constructor(o?: IconSizeOptions);
    /**
     * Get icon size
     * @param iconLength side of the icon
     * @param camera camera the icon will be rendered with
     * @param renderTargetSize size of the render target that the icon will be rendered to.
     * @returns Size of icon to use when rendering.
     */
    get(iconLength: number, camera: Camera, renderTargetSize: ISize): number;
    private calcOrthoCamera;
    private calcPerspectiveCamera;
}
//# sourceMappingURL=IconSizeCalculator.d.ts.map