function server_keys_api(client) {
    return async () => {
        const url = `${client.host}/api/server/keys`;
        return client.fetcher({ url });
    };
}
function server_policy_api(client) {
    return async () => {
        const url = `${client.host}/api/server/policy`;
        return client.fetcher({ url });
    };
}
function server_status_api(client) {
    return async () => {
        const url = `${client.host}/api/server/status`;
        return client.fetcher({ url });
    };
}
export default function (client) {
    return {
        keys: server_keys_api(client),
        policy: server_policy_api(client),
        status: server_status_api(client)
    };
}
