import { type Notebook, type NotebookCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type GetNotebookFromWebUrlRequestBuilder } from './getNotebookFromWebUrl/index.js';
import { type GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder } from './getRecentNotebooksWithIncludePersonalNotebooks/index.js';
import { type NotebookItemRequestBuilder } from './item/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
 * Provides operations to manage the notebooks property of the microsoft.graph.onenote entity.
 */
export interface NotebooksRequestBuilder extends BaseRequestBuilder<NotebooksRequestBuilder> {
    /**
     * Provides operations to count the resources in the collection.
     */
    get count(): CountRequestBuilder;
    /**
     * Provides operations to call the getNotebookFromWebUrl method.
     */
    get getNotebookFromWebUrl(): GetNotebookFromWebUrlRequestBuilder;
    /**
     * Provides operations to manage the notebooks property of the microsoft.graph.onenote entity.
     * @param notebookId The unique identifier of notebook
     * @returns {NotebookItemRequestBuilder}
     */
    byNotebookId(notebookId: string): NotebookItemRequestBuilder;
    /**
     * The collection of OneNote notebooks that the user or group owns. Read-only. Nullable.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<NotebookCollectionResponse>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    get(requestConfiguration?: RequestConfiguration<NotebooksRequestBuilderGetQueryParameters> | undefined): Promise<NotebookCollectionResponse | undefined>;
    /**
     * Provides operations to call the getRecentNotebooks method.
     * @param includePersonalNotebooks Usage: includePersonalNotebooks={includePersonalNotebooks}
     * @returns {GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder}
     */
    getRecentNotebooksWithIncludePersonalNotebooks(includePersonalNotebooks: boolean | undefined): GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder;
    /**
     * Create new navigation property to notebooks for users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {Promise<Notebook>}
     * @throws {ODataError} error when the service returns a 4XX or 5XX status code
     */
    post(body: Notebook, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Notebook | undefined>;
    /**
     * The collection of OneNote notebooks that the user or group owns. Read-only. Nullable.
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toGetRequestInformation(requestConfiguration?: RequestConfiguration<NotebooksRequestBuilderGetQueryParameters> | undefined): RequestInformation;
    /**
     * Create new navigation property to notebooks for users
     * @param body The request body
     * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
     * @returns {RequestInformation}
     */
    toPostRequestInformation(body: Notebook, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
 * The collection of OneNote notebooks that the user or group owns. Read-only. Nullable.
 */
export interface NotebooksRequestBuilderGetQueryParameters {
    /**
     * Include count of items
     */
    count?: boolean;
    /**
     * Expand related entities
     */
    expand?: string[];
    /**
     * Filter items by property values
     */
    filter?: string;
    /**
     * Order items by property values
     */
    orderby?: string[];
    /**
     * Search items by search phrases
     */
    search?: string;
    /**
     * Select properties to be returned
     */
    select?: string[];
    /**
     * Skip the first n items
     */
    skip?: number;
    /**
     * Show only the first n items
     */
    top?: number;
}
/**
 * Uri template for the request builder.
 */
export declare const NotebooksRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote/notebooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
 * Metadata for all the navigation properties in the request builder.
 */
export declare const NotebooksRequestBuilderNavigationMetadata: Record<Exclude<keyof NotebooksRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
 * Metadata for all the requests in the request builder.
 */
export declare const NotebooksRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map