import type { WithMark } from '../types';
import type { TextDefinition } from '@atlaskit/adf-schema';
export declare function applyMark<T>(mark: T & {
    type: string;
}, maybeNode: WithMark | string): WithMark | TextDefinition;
