import type { Resource, ResourceType } from '../types.js'; /** The picture's share of its slot when `placement.width` does not give * one, for a caption set beside it inside the column. */ export declare const DEFAULT_CAPTION_INSIDE_WIDTH = 0.5; /** * A caption set beside its picture inside the slot (`placement.captionSide: * 'inside'`, #1106): the share of the slot the picture takes, the caption * and note taking the rest after a gutter. `placement.width` (0 < w < 1) * gives the share, else {@link DEFAULT_CAPTION_INSIDE_WIDTH}. Undefined when * the resource does not ask for it, or is not a picture (bitmap, SVG, * video): a table keeps its caption over or under it. The callers keep the * slot's whole width for such a resource (they do not narrow it by * `placement.width`); the resource layout narrows the picture itself. A * turned resource, and one set upright on a vertical page, keep their * caption under them and their usual width. */ export declare function captionInsideShare(resource: Resource | undefined, type: ResourceType | undefined): number | undefined; //# sourceMappingURL=captionInside.d.ts.map