import type { Endpoint } from 'comlink';
/**
 * create figma ui endpoint
 * @param options
 * @returns
 */
export declare function figmaUIEndpoint(options?: {
    origin?: string;
}): Endpoint;
/**
 * create figma core endpoint
 * @param options
 * @returns
 */
export declare function figmaCoreEndpoint(options?: {
    origin?: string;
    checkProps?: (props: OnMessageProperties) => boolean | Promise<boolean>;
}): Endpoint;
