import { Command } from '@heroku-cli/command';
export interface AddonSso {
    /**
     * URL of the SSO request
     */
    action: string;
    /**
     * SSO request method
     */
    method: 'get' | 'post';
    /**
     * SSO params for POST request
     */
    params?: SsoParams;
}
export interface SsoParams {
    /**
     * billing app name
     */
    app: string;
    /**
     * context app name
     */
    context_app: string;
    /**
     * user email address
     */
    email: string;
    /**
     * Provider ID (deprecated)
     */
    id: string;
    /**
     * Navigation metadata (deprecated)
     */
    'nav-data': string;
    /**
     * Add-on resource ID
     */
    resource_id: string;
    /**
     * SSO v3 token
     */
    resource_token: string;
    /**
     * SSO request timestamp
     */
    timestamp: string;
    /**
     * SSO v1 token (deprecated)
     */
    token: string;
    /**
     * user ID
     */
    user_id: string;
}
export default class Open extends Command {
    static args: {
        addon: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
    };
    static description: string;
    static flags: {
        app: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
        remote: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
        'show-url': import("@oclif/core/interfaces").BooleanFlag<boolean>;
    };
    static topic: string;
    static urlOpener: (url: string) => Promise<unknown>;
    static openUrl(url: string): Promise<void>;
    run(): Promise<void>;
    private sudo;
    private writeSudoTemplate;
}
