import { type RoleGrantOfferJson } from '../auth/role_grant_offer_schema.js';
type $$ComponentProps = {
    to_account_id: string;
    /**
     * Narrow the offer to a specific actor on `to_account_id`. Omit
     * (or `null`, the default) for the account-grain default — any
     * actor on the recipient account may accept.
     */
    to_actor_id?: string | null;
    /** Roles the caller may offer — caller filters upstream (default: admin-grant-path). */
    roles: Array<string>;
    /** Resource scope for the offer; `null` (default) yields a global offer. */
    scope_id?: string | null;
    on_created?: (offer: RoleGrantOfferJson) => void;
    format_role?: (role: string) => string;
};
declare const RoleGrantOfferForm: import("svelte").Component<$$ComponentProps, {}, "">;
type RoleGrantOfferForm = ReturnType<typeof RoleGrantOfferForm>;
export default RoleGrantOfferForm;
//# sourceMappingURL=RoleGrantOfferForm.svelte.d.ts.map