import { Model } from '../core/Model.js';
import type SdkService from '../services/SdkService.js';
import type { InvitationSchema } from '@api-client/core/models/store/Invitation.js';
export default class InvitationModel extends Model<InvitationSchema> {
    /**
     * A reference to the SDK service used to perform API calls.
     */
    sdk: SdkService;
    /**
     * Whether the model is currently loading data.
     */
    loading: boolean;
    constructor(sdk: SdkService);
    /**
     * Fetches the invitation data for the given token.
     * @param token The invitation token to fetch.
     * @returns The invitation data.
     * @throws Error if the invitation cannot be fetched (e.g., network error or invalid token).
     */
    fetch(token: string): Promise<InvitationSchema>;
    /**
     * Rejects the invitation.
     * @throws Error if the invitation cannot be rejected (e.g., network error).
     */
    reject(): Promise<void>;
}
//# sourceMappingURL=InvitationModel.d.ts.map