// AUTO-GENERATED: do not modify this file directly.
// If you need to make changes, modify generate-fp.ts (if necessary), then open a terminal in types/lodash/scripts, and do:
// npm run fp

import _ = require("../index");

interface Slice {
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (): Slice;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (start: number): Slice1x1;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (start: number, end: number): Slice1x2;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    <T>(start: number, end: number, array: _.List<T> | null | undefined): T[];
}
interface Slice1x1 {
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (): Slice1x1;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (end: number): Slice1x2;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    <T>(end: number, array: _.List<T> | null | undefined): T[];
}
interface Slice1x2 {
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    (): Slice1x2;
    /**
     * Creates a slice of array from start up to, but not including, end.
     *
     * @param array The array to slice.
     * @param start The start position.
     * @param end The end position.
     * @return Returns the slice of array.
     */
    <T>(array: _.List<T> | null | undefined): T[];
}

declare const slice: Slice;
export = slice;
