import { Callable } from "../Callable";
import { BrsComponent } from "../components/BrsComponent";
/**
 * BrightScript Interface ifSetMessagePort
 * https://developer.roku.com/docs/references/brightscript/interfaces/ifsetmessageport.md
 */
export declare class IfSetMessagePort {
    private readonly component;
    private readonly callback?;
    constructor(value: BrsComponent, callback?: Function);
    /** Sets the roMessagePort to be used for all events from the component */
    private set;
    readonly setMessagePort: Callable;
    readonly setPort: Callable;
}
/**
 * Interface IfGetMessagePort
 * https://developer.roku.com/docs/references/brightscript/interfaces/ifgetmessageport.md
 */
export declare class IfGetMessagePort {
    private readonly component;
    constructor(value: BrsComponent);
    /** Returns the message port (if any) currently associated with the object */
    readonly getMessagePort: Callable;
    /** Returns the message port (if any) currently associated with the object */
    readonly getPort: Callable;
}
