import { Layout } from '../interfaces/Layout';
import { RouteMatch } from './types';
/**
 * Builds the default modal layout for a matched deep link.
 *
 * Behavior:
 *   - Wraps the matched chain in a `stack`. Even a single-component match
 *     gets wrapped so the screen has a topBar where the user can mount a
 *     close button via `topBar.leftButtons`.
 *   - Each segment becomes a `component` child of the stack, in match order.
 *     The first segment is the root of the stack; subsequent segments are
 *     pushed on top.
 *   - Path params for each segment are merged with query params and passed
 *     as `passProps` to that segment's component. Path params win on key
 *     collision. React-reserved keys (`ref`, `key`) are filtered out.
 */
export declare class ModalLayoutBuilder {
    build(match: RouteMatch): Layout;
    private mergeProps;
}
//# sourceMappingURL=ModalLayoutBuilder.d.ts.map