import type { Arguments, CommentaryResponse, ParsedOptions } from '@kui-shell/core';
/**
 * commentary command parsedOptions type
 */
export type CommentaryOptions = ParsedOptions & Pick<CommentaryResponse['props'], 'header' | 'edit' | 'preview' | 'receive' | 'send' | 'replace' | 'simple'> & {
    f: string;
    file: string;
    title: string;
    'base-url': string;
    /** Support for pymdownx.snippets */
    'snippet-base-path': string;
    /** Toggle the tab to be in readonly mode */
    readonly: boolean;
};
/** TODO: move to core Tab api? */
export declare function setTabReadonly({ tab }: Arguments): Promise<void>;
export declare function addComment(args: Arguments<CommentaryOptions>): Promise<true | CommentaryResponse>;
/**
 * This delegate is helpful to wrap the rendering of a given markdown
 * `filepath` in a maximized view that is injected as a replacement
 * for the current view.
 */
export declare function delegate(args: Arguments): {
    apiVersion: string;
    kind: string;
    props: {
        replace: boolean;
        children: string;
    };
};
