import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core.js';
import { MSTeamsData } from './ms-teams-data.js';

type SignInActionOptions = SubmitActionOptions & {
    data: MSTeamsData<ISignInData>;
};
/**
 * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
 */
interface ISignInAction extends ISubmitAction {
    /**
     * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
     */
    data: MSTeamsData<ISignInData>;
}
/**
 * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
 */
declare class SignInAction extends SubmitAction implements ISignInAction {
    /**
     * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
     */
    data: MSTeamsData<ISignInData>;
    constructor(value: string, options?: SubmitActionOptions);
    static from(options: SignInActionOptions): SignInAction;
    withData(value: ISignInData): this;
    withValue(value: string): this;
}
/**
 * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK.
 */
interface ISignInData {
    type: 'signin';
    /**
     * Set to the `URL` where you want to redirect.
     */
    value: string;
}
/**
 * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK.
 */
declare class SignInData implements ISignInData {
    type: 'signin';
    /**
     * Set to the `URL` where you want to redirect.
     */
    value: string;
    constructor(value: string);
}

export { type ISignInAction, type ISignInData, SignInAction, type SignInActionOptions, SignInData };
